]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 3383: store.cc:1631: "new_status != IN_MEMORY" assertion
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 27 Oct 2011 20:39:23 +0000 (14:39 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Thu, 27 Oct 2011 20:39:23 +0000 (14:39 -0600)
commit6ebe9a4c88246fe92235a43bfbbe1b8d5d452048
treea37bed4b19a304256ae9ff997cf7fe24ea19371b
parenta594dbfa3c8960e7fc2a3c9a9fcd848c5242dbac
Bug 3383: store.cc:1631: "new_status != IN_MEMORY" assertion

UsingSmp() is not the right condition to detect whether we are using a shared
cache because shared memory caching may be disabled and because Coordinator
does not use a shared memory cache even if shared caching is enabled.

The assertion was triggered by icons being added to Coordinator local memory
cache. TODO: Coordinator does not need to cache [icons] at all.
src/store.cc