)]}'
{
  "commit": "cfb9ed0d5579649b2bd1641809af8ca1dd66b955",
  "tree": "752477e228a661b48f47ca0ed986925a68c7d29e",
  "parents": [
    "46673e4086dff8287a21796534386dd04cd0163b"
  ],
  "author": {
    "name": "Gustaf Lundh",
    "email": "gustaf.lundh@sonymobile.com",
    "time": "Thu Jan 17 14:07:14 2013 +0100"
  },
  "committer": {
    "name": "Nasser Grainawi",
    "email": "nasser@codeaurora.org",
    "time": "Tue Feb 18 13:35:43 2014 -0700"
  },
  "message": "Retry replications failed due to \"failed to lock\" errors\n\nIf two or more replication PushOps (to the same GIT and Ref) are\nscheduled at approximately same time (and end up on different\nreplication threads), there is a large probability that the last\npush to complete will fail with a remote \"failure to lock\" error.\n\nThis is due to the first replication operation updating the very\nsame remote ref during the execution of the second replication push\noperation.\n\nSince this is not recognized as a transient issue, the last ref\nupdate will never happen and the commit will not be reachable from\nthe Gerrit slave.\n\nIn a very active system as ours, this happens often enough to be a\nhuge issue for both users and CI-systems.\n\nThis fix will acknowledge these \"failed to lock\" issues as a\ntransient error and schedule the failed replication operation\nfor a retry.\n\nChange-Id: Ic51d8407e38eea257b0a2e5fb529cf23b5875ca8\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0da6cb2f8fe63d086eb29b69b30e228d3dd1521a",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java",
      "new_id": "63fc350995da0140f1fea8d375416aa4660694c7",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java"
    },
    {
      "type": "modify",
      "old_id": "16d426639d354fc88930e34ca4ac54da4e0005c9",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java",
      "new_id": "39e18f4203cc4f151d976476a52e00cefaecd216",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java"
    },
    {
      "type": "modify",
      "old_id": "e8f94739a7e4c142fa85c964f55e9a4d0ac0c19a",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/config.md",
      "new_id": "94b847301bd3ad80bd9fb51af3fa40db0a5b0b2d",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/config.md"
    }
  ]
}
