BUG-5280: add basic concept of ClientSnapshot 27/48727/32
authorRobert Varga <rovarga@cisco.com>
Fri, 25 Nov 2016 12:55:13 +0000 (13:55 +0100)
committerRobert Varga <rovarga@cisco.com>
Mon, 12 Dec 2016 19:27:55 +0000 (20:27 +0100)
In order to accurately read-only transactions with ClientLocalHistory,
we need to differentiate between Transactions and Snapshots. This patch
introduces the concept, its API and backend signalling/implementation.

State keeping is reworked so it requires only a single field, which
is manipulated via an atonic updater, with null signifying state has
already been closed (or is in process of being taken care of).

Change-Id: I2f8fd5ffdff366d1948538299b96721b756c620c
Signed-off-by: Robert Varga <rovarga@cisco.com>

No differences found