In nonstrict-read-write mode the remove may be not applied

Description

Under certain race conditions, the remove loads old version from cache and invalidates this version, but the remove fails because newer version was inserted in the meantime. This affects cached collections as these are only invalidated, the version is not incremented in cache and therefore a DB read may try to putFromLoad newer version concurrently with another invalidation.

Since the SPI does not provide the proper version (and lockItem call for collections does not use version either), the solution has to fallback to timestamp-based comparison.

Activity

Show:

Galder ZamarrenoNovember 4, 2015 at 11:17 AM

Integrated in master

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created October 14, 2015 at 9:38 AM
Updated November 26, 2015 at 2:06 PM
Resolved November 26, 2015 at 2:06 PM