Clone
Murtadha Makki Al Hubail
committed
on 16 Jun
[NO ISSUE][REPL] Wait For Dataset IO Before Replica Sync
- user model changes: no
- storage format changes: no
- interface changes: yes

Det… Show more
[NO ISSUE][REPL] Wait For Dataset IO Before Replica Sync

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

- Add API in DatasetLifecycleManager to wait for IO on datasets

 matching a replication strategy.

- Before synchronizing the files on a replica, wait for any

 on-going IO operations on replicated datasets to make sure

 the set of files won't change while the replica is being

 synchronized (e.g. a merge operation won't delete a file

 that we wanted to send to a replica).

Change-Id: I01ed5c9379cf7ae249faeef624d5226ea699cf22

Reviewed-on: https://asterix-gerrit.ics.uci.edu/3446

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>

Show less