[Checkins] [zopefoundation/Products.ZCatalog] bb0412: Initial support of catalog caching with plone.memo...
GitHub
noreply at github.com
Tue May 8 16:51:52 CEST 2018
Branch: refs/heads/andbag-zcatalog-caching
Home: https://github.com/zopefoundation/Products.ZCatalog
Commit: bb0412a7384a60b5258d1b718923240ffef2be95
https://github.com/zopefoundation/Products.ZCatalog/commit/bb0412a7384a60b5258d1b718923240ffef2be95
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M setup.py
M src/Products/PluginIndexes/interfaces.py
M src/Products/ZCatalog/Catalog.py
A src/Products/ZCatalog/cache.py
Log Message:
-----------
Initial support of catalog caching with plone.memoize
Commit: efde6af860bfe9321930f1bb267b7f9c80f85597
https://github.com/zopefoundation/Products.ZCatalog/commit/efde6af860bfe9321930f1bb267b7f9c80f85597
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M src/Products/PluginIndexes/TopicIndex/FilteredSet.py
M src/Products/PluginIndexes/TopicIndex/TopicIndex.py
M src/Products/PluginIndexes/TopicIndex/tests.py
Log Message:
-----------
Add getCounter logic to TopicIndex
Commit: 6e5005e153344638e63cb25aca63679398af83ba
https://github.com/zopefoundation/Products.ZCatalog/commit/6e5005e153344638e63cb25aca63679398af83ba
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M src/Products/PluginIndexes/PathIndex/PathIndex.py
M src/Products/PluginIndexes/PathIndex/tests.py
Log Message:
-----------
Add getCounter logic to PathIndex
Commit: b7c28576a30d28564281ad952556c940be49a40a
https://github.com/zopefoundation/Products.ZCatalog/commit/b7c28576a30d28564281ad952556c940be49a40a
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M src/Products/ZCatalog/Catalog.py
M src/Products/ZCatalog/cache.py
Log Message:
-----------
Refactor caching
Commit: 8b2554544a909cfab0157bb86882a1999b32dc3d
https://github.com/zopefoundation/Products.ZCatalog/commit/8b2554544a909cfab0157bb86882a1999b32dc3d
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M src/Products/PluginIndexes/unindex.py
Log Message:
-----------
Implement IIndexCounter
Commit: f8046786bbe346e533c459150d2bd1726cbeb49b
https://github.com/zopefoundation/Products.ZCatalog/commit/f8046786bbe346e533c459150d2bd1726cbeb49b
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M src/Products/ZCatalog/Catalog.py
M src/Products/ZCatalog/cache.py
Log Message:
-----------
Refactor decorator and cache key format
Commit: 982a86483c4624e529ec06c959a931f234f92b26
https://github.com/zopefoundation/Products.ZCatalog/commit/982a86483c4624e529ec06c959a931f234f92b26
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M src/Products/ZCatalog/tests/test_zcatalog.py
Log Message:
-----------
Need unique id of catalog instance for caching support
Commit: 3a69a95bb761a8fdd491f73dbfc4a5d3baad074c
https://github.com/zopefoundation/Products.ZCatalog/commit/3a69a95bb761a8fdd491f73dbfc4a5d3baad074c
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M src/Products/ZCatalog/tests/test_catalog.py
Log Message:
-----------
Fix catalog test for caching support
Commit: 87b4b8bf6d4dfd4999ec42b7e1a00216a0342f26
https://github.com/zopefoundation/Products.ZCatalog/commit/87b4b8bf6d4dfd4999ec42b7e1a00216a0342f26
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M src/Products/ZCatalog/cache.py
A src/Products/ZCatalog/tests/test_cache.py
Log Message:
-----------
Initial cache tests
Commit: 2b9c3b2d5f9440b2ac715b5a09dd527e3d347e41
https://github.com/zopefoundation/Products.ZCatalog/commit/2b9c3b2d5f9440b2ac715b5a09dd527e3d347e41
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M src/Products/ZCatalog/cache.py
M src/Products/ZCatalog/tests/test_cache.py
M src/Products/ZCatalog/tests/test_zcatalog.py
Log Message:
-----------
Add more caching tests
Commit: d0d1787a463d2d5bd3905bb0dfd4f8b5dc6a54bf
https://github.com/zopefoundation/Products.ZCatalog/commit/d0d1787a463d2d5bd3905bb0dfd4f8b5dc6a54bf
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M src/Products/ZCatalog/cache.py
M src/Products/ZCatalog/tests/test_cache.py
Log Message:
-----------
Cache key is invariant of sort or pagenation options
Commit: cd4d81ecadcf030d64c4ee53ba2b869ecd9621c5
https://github.com/zopefoundation/Products.ZCatalog/commit/cd4d81ecadcf030d64c4ee53ba2b869ecd9621c5
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M src/Products/ZCatalog/tests/test_cache.py
Log Message:
-----------
wrap map calls in list calls
Commit: 915cae9d1835b9d40b35268508775875e56a193d
https://github.com/zopefoundation/Products.ZCatalog/commit/915cae9d1835b9d40b35268508775875e56a193d
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
M src/Products/PluginIndexes/PathIndex/PathIndex.py
M src/Products/PluginIndexes/TopicIndex/TopicIndex.py
M src/Products/PluginIndexes/interfaces.py
M src/Products/PluginIndexes/tests/test_unindex.py
M src/Products/PluginIndexes/unindex.py
M src/Products/ZCatalog/cache.py
M src/Products/ZCatalog/tests/test_cache.py
Log Message:
-----------
Add transaction awareness for cache keys
Commit: 049e3526c3bf14a8d0b55116c861bc414caff626
https://github.com/zopefoundation/Products.ZCatalog/commit/049e3526c3bf14a8d0b55116c861bc414caff626
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
M src/Products/PluginIndexes/PathIndex/PathIndex.py
M src/Products/PluginIndexes/TopicIndex/TopicIndex.py
M src/Products/PluginIndexes/interfaces.py
M src/Products/PluginIndexes/tests/test_unindex.py
M src/Products/PluginIndexes/unindex.py
M src/Products/ZCatalog/cache.py
M src/Products/ZCatalog/tests/test_cache.py
Log Message:
-----------
Revert "Add transaction awareness for cache keys" because _p_serial
isn't an adequate marker for an unique key generation
This reverts commit 9d8aea653c6a729085e41bf48f0fe69cd6ca8f74.
Commit: d044f1b4cc371a23ed5367ec1f429bfc174afd92
https://github.com/zopefoundation/Products.ZCatalog/commit/d044f1b4cc371a23ed5367ec1f429bfc174afd92
Author: Andreas Gabriel <gabriel at hrz.uni-marburg.de>
Date: 2018-05-08 (Tue, 08 May 2018)
Changed paths:
M src/Products/PluginIndexes/BooleanIndex/tests.py
M src/Products/PluginIndexes/DateIndex/tests.py
M src/Products/PluginIndexes/DateRangeIndex/tests.py
M src/Products/PluginIndexes/KeywordIndex/tests.py
M src/Products/PluginIndexes/PathIndex/PathIndex.py
M src/Products/PluginIndexes/PathIndex/tests.py
M src/Products/PluginIndexes/TopicIndex/TopicIndex.py
M src/Products/PluginIndexes/TopicIndex/tests.py
M src/Products/PluginIndexes/UUIDIndex/tests.py
M src/Products/PluginIndexes/tests/test_unindex.py
M src/Products/PluginIndexes/unindex.py
M src/Products/ZCatalog/cache.py
M src/Products/ZCatalog/tests/test_cache.py
Log Message:
-----------
Fixed inconsistent cache read of concurrent threads
Compare: https://github.com/zopefoundation/Products.ZCatalog/compare/88d0d900715b...d044f1b4cc37
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the checkins
mailing list