We're updating the issue view to help you get more done. 

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.

Environment

None

Status

Assignee

Radim Vansa

Reporter

Radim Vansa

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.0.2

Priority

Major