Displaying 1 result from an estimated 1 matches for "22aeda0f0553fdcabca15".
2011 Oct 28
3
Is active record 3.1.1 supposed to be threadsafe?
...another thread cleared
the same cache.
Assuming active record 3.1.1 is supposed to be threadsafe, then the
culprit for the issue would be
ActiveRecord::ConnectionAdapters::QueryCache, which doesn''t synchronize
access to its @query_cache. See
https://github.com/awd-switzerland/rails/commit/22aeda0f0553fdcabca156012b67f2aa2add293c
for a possible way to resolve that. However, I''m not sure in which layer
the rails team wants to handle synchronization.
Also notice that the patch is naive in that it simply assumes thread
support in ruby to be enabled.
Best regards
Stefan Rusterholz
--
Posted via ht...