This project is archived and is in readonly mode.
Strategy::LocalCache makes memcache (or others) stored object immutable
Reported by quake wang | March 20th, 2009 @ 12:38 PM
2.3 new added Strategy::LocalCache is using MemoryStore as internal cache, which makes memcache stored object immutable(memory store: @data[name] = value.freeze), which is not compatible with rails 2.2, I thought it's a bug.
Comments and changes to this ticket
-
josh May 25th, 2009 @ 05:31 PM
- Assigned user set to josh
- State changed from new to open
- Milestone cleared.
-
Repository May 27th, 2009 @ 09:02 PM
- State changed from open to resolved
(from [b4c7b3e893c586160ffe11aa598d729707f7f900]) Ensure Memcache local cache returns duplicated values [#2302 state:resolved] http://github.com/rails/rails/commit/b4c7b3e893c586160ffe11aa598d72...
-
Repository May 27th, 2009 @ 09:02 PM
(from [6ef329d3250cfc3a21184cc2a8248aa18a1f6815]) Ensure Memcache local cache returns duplicated values [#2302 state:resolved] http://github.com/rails/rails/commit/6ef329d3250cfc3a21184cc2a8248a...
-
Timur Vafin June 30th, 2009 @ 07:47 PM
Cache#write should not modify original object, here is patch #2860
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>
People watching this ticket
Attachments
Referenced by
- 2302 Strategy::LocalCache makes memcache (or others) stored object immutable (from [b4c7b3e893c586160ffe11aa598d729707f7f900]) Ensure ...
- 2302 Strategy::LocalCache makes memcache (or others) stored object immutable (from [6ef329d3250cfc3a21184cc2a8248aa18a1f6815]) Ensure ...
- 2655 Rails.cache freezes all objects passed to it Looks like this was fixed - see #2302
- 2655 Rails.cache freezes all objects passed to it I think the expected behavior is for everything in the ca...