)]}'
{
  "commit": "8ed06b35b487694bb99049661119bae608673e7a",
  "tree": "12c9f27280f0f268c86e5016cce9caf12739ded3",
  "parents": [
    "d74697356121c5ea3be708f2195f2f1cc125c4b1"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Mon Dec 23 11:22:08 2024 +0000"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Mon Dec 23 04:15:12 2024 -0800"
  },
  "message": "Reintroduce Forwarded(Batch)IndexExecutor for indexing threads\n\nIntroduce the well-known executors with associated queues for\nrunning the reindexing tasks associated with the forwarded tasks\nform the HA nodes.\nThe executors and associated queues were removed in If5ec4a1ed but\nthe Forwarded(Batch)IndexExecutor class names kept with a different\nimplementation on top of the async-retry with failsafe.\n\nThe well-known executors names, lost during the refactoring\nintroduced with If5ec4a1ed, which has caused two issues:\n\na) The indexing tasks were not visible anymore in the executors\n   queues, which made problematic managing the queues and giving\n   the associated visibility to the Gerrit admin.\n\nb) Other plugins, like multi-site, were unaware that the indexing\n   was happening because of the HA index forwarding, generating\n   a continuous loop of indexing events between HA and multi-site.\n\nReintroduce the proper executors in their original class names,\nmade available thanks to the renaming made in I18cdfcaf,\nand add the UsedAt() notation as sentinel for preventing the\nexecutors to be removed unilaterally again.\n\nChange-Id: I7d4735155fb3d84cb445dfd4612bfbe90716766a\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a3a7e641925db91aee0323e304d98752f184f0e1",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/ForwardedBatchIndexExecutorProvider.java"
    },
    {
      "type": "modify",
      "old_id": "d9afd1a32b9197ae27b699071e419da22b0c3ce6",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/ForwardedBatchIndexFailsafeExecutorProvider.java",
      "new_id": "f52b3febd81aedcca517edee5ac9b9b463495a1a",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/ForwardedBatchIndexFailsafeExecutorProvider.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "da623df0ddc7b02f192d96eb1c895d18d5fc04f6",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/ForwardedIndexExecutorProvider.java"
    },
    {
      "type": "modify",
      "old_id": "3260ae601b62ba81124fdfa81e16024307690547",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/ForwardedIndexFailsafeExecutorProvider.java",
      "new_id": "7bae94ad1812d08a36a2a917641d17be0ff4219a",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/ForwardedIndexFailsafeExecutorProvider.java"
    },
    {
      "type": "modify",
      "old_id": "cc55bbe79ed163c6936f50c817104d536edce29b",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/IndexModule.java",
      "new_id": "1db3721bb86b6ea21d047f514b6b47c53788241f",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/IndexModule.java"
    },
    {
      "type": "modify",
      "old_id": "2a8864d9faf46faa1ef060cfbb1a6498616e8a0f",
      "old_mode": 33188,
      "old_path": "src/test/java/com/ericsson/gerrit/plugins/highavailability/forwarder/ForwardedIndexChangeHandlerTest.java",
      "new_id": "427985ab4eef65913efc147e74d905e4f810225c",
      "new_mode": 33188,
      "new_path": "src/test/java/com/ericsson/gerrit/plugins/highavailability/forwarder/ForwardedIndexChangeHandlerTest.java"
    }
  ]
}
