Update git submodules
* Update plugins/replication from branch 'master'
to 839bbc509216fd4386c226697d732f96f2cb794c
- Avoid checking for existing tasks while pruning
When the distributor runs, it now stores a snapshot of pending
pushes and then removes from this snapshot all the RefUpdates
which were found while adding pending persisted tasks. The
remaining pushes in the snapshot can now be pruned without
needing to do an existence check on them since they were no
longer stored persistently (and thus no longer needed to be
executed). This effectively makes pruning I/O less, thereby
reducing the load put by distributor on disk I/O.
Change-Id: I0916a57b302fd7d207fd31ec26df65d262a76124
- Add a test to cover Distributor pruning feature
To test if distributor can prune, we add an event to storage and
then delete the waiting task from storage to simulate it being
started by another node. We then assert that the project task
gets pruned from the work queue by the time the next distribution
cycle completes.
Change-Id: Ifeed8444986be03bddf443fed94170c8ee5ae72c
diff --git a/plugins/replication b/plugins/replication
index bf19013..839bbc5 160000
--- a/plugins/replication
+++ b/plugins/replication
@@ -1 +1 @@
-Subproject commit bf19013d9d4b93558eaa015fd3c14c01490e4915
+Subproject commit 839bbc509216fd4386c226697d732f96f2cb794c