This project is archived and is in readonly mode.

#2876 ✓stale
BrianD

file cach store is updating version directory timestamp

Reported by BrianD | July 6th, 2009 @ 05:56 PM | in 3.x

I'm using Rails 2.2.2 and using the file store caching. With a typical directory structure like:

/opt/www/<app_name>/releases/2009010101/

when the file cache is updated it appears to be updating the timestamp of the '2009010101' directory. I'm not sure why this is happening, but I've traced it back to the stat call in the activesupport/lib/active_support/core_ext/file/atomic.rb class. With the timestamp updating that directory, it is causing problems with deploying with Capistrano and it doesn't really need to be doing that.

Comments and changes to this ticket

  • Jeremy Kemper

    Jeremy Kemper May 4th, 2010 @ 06:48 PM

    • Milestone changed from 2.x to 3.x
  • Rohit Arondekar

    Rohit Arondekar October 9th, 2010 @ 04:00 AM

    • State changed from “new” to “stale”
    • Importance changed from “” to “”

    Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Pages