Do not remove replication tasks if they are retrying

Prevent the premature removal of replication tasks when they
are scheduled for retry. The termination of a PushOp does not
necessarily mean that the operation was successful or was definitely
cancelled: there is also the possibility of retrying upon failures.

Fix an issue where the replication task storage was attempting
to remove the persistent task and, luckily, failing because the
task was put back into the waiting queue.

Bug: Issue 12073
Change-Id: I4751f427aa1c45a8a36232d74e0a6691f860e490
1 file changed
tree: 796af5c640cdd9f58e305606a72ace3ca272d7da
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUILD
  6. LICENSE