Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[cache] Filesystem adapter sets incorrect timestamps #19431

Copy link
Copy link
Closed
@pkruithof

Description

@pkruithof
Issue body actions

The new Cache component uses the filesystem adapter by default.

$ ls -l pools/TP1BESnWfV/y/U/wx+WpNt6nS-+Gb2SEdxQ
-rw-r--r-- 1 www-data www-data 2409 9223372036854775807 pools/TP1BESnWfV/y/U/wx+WpNt6nS-+Gb2SEdxQ

The modification date is incorrect here: 9223372036854775807. When I stat it, I also get this date:

$ stat pools/TP1BESnWfV/y/U/wx+WpNt6nS-+Gb2SEdxQ
  File: 'pools/TP1BESnWfV/y/U/wx+WpNt6nS-+Gb2SEdxQ'
  Size: 2409        Blocks: 8          IO Block: 4096   regular file
Device: fd01h/64769d    Inode: 9187238     Links: 1
Access: (0644/-rw-r--r--)  Uid: (   33/www-data)   Gid: (10000/www-data)
Access: 2016-07-26 13:17:17.719261683 +0200
Modify: 9223372036854775807
Change: 2016-07-19 15:59:20.179413813 +0200
 Birth: -

Test that it's incorrect:

$ php -r "echo date('r', 9223372036854775807);"
Sun, 04 Dec 219250468 15:30:07 +0000

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.