[NO ISSUE][REP] Add replica sync progress
authorMurtadha Hubail <murtadha.hubail@couchbase.com>
Thu, 2 Sep 2021 10:35:49 +0000 (13:35 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Thu, 2 Sep 2021 16:43:53 +0000 (16:43 +0000)
commita1de795e82273b128b706794988fb7dd09a0267d
tree78f1537d5c5fee0473d41055731d9032e482ed8a
parent087eaf55aef22aef414c22f1f9108c58c781437f
[NO ISSUE][REP] Add replica sync progress

- user model changes: no
- storage format changes: no
- interface changes: yes

Details:

- Add replica sync progress based on the replica missing
  files.
- Add replica last progress timestamp that can be used
  to determine replica progress inactivity.

Change-Id: Iab2cd7e745c4150e2d0aef3af864ec0f66dd96e7
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/13063
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
asterixdb/asterix-common/src/main/java/org/apache/asterix/common/replication/IPartitionReplica.java
asterixdb/asterix-replication/src/main/java/org/apache/asterix/replication/api/PartitionReplica.java
asterixdb/asterix-replication/src/main/java/org/apache/asterix/replication/sync/ReplicaFilesSynchronizer.java