EHC ❯ Write Behind reorders operations when assembling batches
-
Bug
-
Status: Resolved
-
2 Major
-
Resolution: Fixed
-
ehcache-core
-
-
cdennis
-
Reporter: cdennis
-
October 07, 2015
-
0
-
Watchers: 1
-
October 13, 2015
-
October 07, 2015
Description
If you run a write behind setup without coalescing but with batching write behind can end up reordering puts and removes to the same key. When assembling batches write behind simply takes all writes amongst the selected operations and makes a write batch, and the same to form a delete batch. This logic should be corrected to prevent reordering of writes and deletes to the same key.
Comments
Chris Dennis 2015-10-07
Chris Dennis 2015-10-07
Merged to 2.6.x, 2.7.x, 2.8.x, and 2.9.x.
Equivalent Ehcache 3.0 Issue: https://github.com/ehcache/ehcache3/issues/626