)]}'
{
  "commit": "ddda9fa54bd5c303c8ab49e66cc4cc5c658a9949",
  "tree": "6f1e23fa41e91e255691a13ad352d5fce6ec5e08",
  "parents": [
    "06ff4c47986a7d562af238dcdf83ebf5d8b1cc4d"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Mon Oct 16 21:00:01 2023 +0100"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Tue Dec 12 11:18:13 2023 +0000"
  },
  "message": "Force async fetch as a fallback for sync replication\n\nWhen running sync replication, the apply-object or fetch may\nfail or timeout, causing the client to call the fetch operation\nas a fallback.\n\nBefore this change, the modality for running the fallback fetch\nwas dependent on the replication.syncRefs configuration settings,\ncausing the fallback to potentially fail for all refs that were\nincluded in the replication.syncRefs regex.\n\nForce the async fetch when running the fallback execution to\na failed sync replication API, so that it can reliably work\nfor any refs independently from the replication.syncRefs settings.\n\nIt is tough to write a test for this specific condition\nand verifying that the fetch happened asynchronously, hence\nthis logic has only been unit-tested at the RepicationQueue\nlevel.\n\nBug: Issue 305653639\nChange-Id: I5ea3f5d14b31cdc9cecc28996b175cc302f31a27\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ef955963d1bbb6d6b6725dad41745884a9c387b4",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/ReplicationQueue.java",
      "new_id": "cdef514e6c3f61726b7cdaee766e70995ab20b8b",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/ReplicationQueue.java"
    },
    {
      "type": "modify",
      "old_id": "f7ed4cb50f18d92d0ececb6ad78736b448158ff4",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/client/FetchApiClient.java",
      "new_id": "38d5d57c250b971fd3009d1ce1c4564c51b3ef92",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/client/FetchApiClient.java"
    },
    {
      "type": "modify",
      "old_id": "7607e4bf9bb3ba3c4ddca2abd46e097d9ad177df",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/client/FetchRestApiClient.java",
      "new_id": "557941513b25bef0a1161b83893ad6ccab435eff",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/client/FetchRestApiClient.java"
    },
    {
      "type": "modify",
      "old_id": "a07aa551c5729220dfc87d6621a5b55e8150b04f",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/replication/pull/ReplicationQueueTest.java",
      "new_id": "3d4d531e72f1121955b6778cda8b0d95245eb70c",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/replication/pull/ReplicationQueueTest.java"
    }
  ]
}
