Readless Increments in SDK have concurrency issues

Description

In SDK/Standalone, we use LevelDB to implement Tables. The readless increments for LevelDB are implemented the same way as regular increments, that is, using a read,modify,write. Because there is no locking, that means that concurrent increments can cancel out each other's writes. This is problematic:
with conflict detection turned off, some writes are lost and that is never detected.

Release Notes

None

Activity

Show:

Andreas Neumann December 13, 2016 at 3:13 AM

When this gets fixed, the ReadlessIncrementTest integration test should be changed to also run with SDK.

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Affects versions

Priority

Created September 2, 2016 at 7:33 PM
Updated August 3, 2020 at 4:14 PM