vaxine icon indicating copy to clipboard operation
vaxine copied to clipboard

Add local time information to the meta-data tables and introduce snapshot notification server

Open define-null opened this issue 3 years ago • 1 comments

Introduce local DC timestamp information into meta_data ets tables.
The main use-case - get notified when particular transaction is fully
replicated to the local DC, as it may be spread across multiple partitions
that reside on multiple nodes. The change should not affect the behaviour
of dc_utilities:get_stable_snapshot/0.

Meta data notification server is added to antidote application, to provide
trivial notification subscription system, for subsystems which are interested
to get notified when particular snapshot is fully replicated in the local DC.
Such a service has an update lag, which is equal to periodic timer in
meta_data_sender

vector_orddict is extended to support append operation, and similar to behaviour
of dict:append.

define-null avatar Jul 25 '22 11:07 define-null

Hi, just kind reminder regarding this PR @bieniusa Please let me know if you intend to review it.

define-null avatar Aug 09 '22 11:08 define-null

Closed this in favor of https://github.com/vaxine-io/vaxine/pull/44 Added changes requested in this PR

define-null avatar Sep 05 '22 22:09 define-null