)]}'
{
  "commit": "6e04fc32f87780e949c4213a6f028cc0d6a0c575",
  "tree": "84ccc4799af8e1cb70d80850f73dfb315d4ad3b4",
  "parents": [
    "bad55d97ac86f6b16b63a1c4870762aa101332d8"
  ],
  "author": {
    "name": "Saša Živkov",
    "email": "sasa.zivkov@sap.com",
    "time": "Thu Mar 31 17:30:51 2022 +0200"
  },
  "committer": {
    "name": "Saša Živkov",
    "email": "sasa.zivkov@sap.com",
    "time": "Fri Apr 01 13:46:43 2022 +0200"
  },
  "message": "Do not retry replication when local repository not found\n\nWhen many repositories get created and deleted in a quick succession it\nmay happen that a repository gets deleted before its replication task\nstarts. Such replication task will keep retrying, possibly indefinitely,\nbut has no chance to succeed.\n\nAnother scenario where this issue can occur is when a repository gets\ncreated but a replica is not reachable for some time. If the repository\ngets deleted before the replica gets reachable again, the replication\ntask will keep retrying but the local repository will not exist.\n\nWhen handling the RepositoryNotFoundException in PushOne, set the\nretrying flag to false. This ensures that this replication task is\nnot retried and gets finished.\n\nBug: Issue 15804\nChange-Id: Ia55c5ec1c961f4c2aec9ecee8056f22b436e9fda\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ebc8889ef584427b60c85a8e7fdef2778b9f399a",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java",
      "new_id": "693dd73cf68c04d006367efc0ce29ca66963e5a6",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java"
    },
    {
      "type": "modify",
      "old_id": "94f0dc4861588c02f4305502cb602c8c3163f9c5",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/replication/PushOneTest.java",
      "new_id": "4bd084d8fc1461635da7f84cd223715ec56037f9",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/replication/PushOneTest.java"
    }
  ]
}
