Merge branch 'stable-3.0'

* stable-3.0:
  Add missing log statement if replication was canceled
  When rescheduling due to in-flight push log also the in-flight task ID
  Make sure to always remove in-flight pushes

Change-Id: I7e15a3383d1288376ab0bec8415b071c874dfc53
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java b/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java
index 05bb31a..09c4820 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java
@@ -303,7 +303,9 @@
     MDC.put(ID_MDC_KEY, HexFormat.fromInt(id));
     RunwayStatus status = pool.requestRunway(this);
     if (!status.isAllowed()) {
-      if (!status.isCanceled()) {
+      if (status.isCanceled()) {
+        repLog.info("PushOp for replication to {} was canceled and thus won't be rescheduled", uri);
+      } else {
         repLog.info(
             "Rescheduling replication to {} to avoid collision with the in-flight push [{}].",
             uri,