Fix issue with task cleanup after retry

Destination.notifyFinished method calls finish on
ReplicationTasksStorage.Task objects which are not scheduled for retry.

The issue is that for rescheduled tasks PushOne.isRetrying
will always returns true even if task is already replicated.
That creates a situation where tasks scheduled for retry are
never cleaned up.

Bug: Issue 12754
Change-Id: I4b10c2752da6aa7444f57c3ce4ab70eb00c3f14e
2 files changed
tree: e23f3fec368820520d17a2cc054fe115d13f5795
  1. .gitignore
  2. .mailmap
  3. .settings/
  4. BUILD
  5. LICENSE
  6. src/