)]}'
{
  "commit": "c7c36d62cf61d1588e9cdeab3e89b77a65f44c79",
  "tree": "c22adafe75d92948cc443fb85a5e058da170a3b3",
  "parents": [
    "8fd3c271ce0a21480e3d04da5ad2112efea3bedf"
  ],
  "author": {
    "name": "Diego Zambelli Sessona",
    "email": "diego.sessona@gmail.com",
    "time": "Thu Nov 16 09:22:41 2023 +0100"
  },
  "committer": {
    "name": "Diego Zambelli Sessona",
    "email": "diego.sessona@gmail.com",
    "time": "Thu Nov 16 10:39:13 2023 +0100"
  },
  "message": "Remove events from beforeStartupEventsQueue in-memory queue\n\nBefore replication plugin is fully loaded it can receive\nevents. These events are stored in an in-memory queue called\n`beforeStartupEventsQueue`. After plugin is fully loaded those\nevents are processed but never removed from the queue. This can\ncause issue processing the same event multiple times.\n\nReplication done with apply-object may not be idempotent if\nthe event generated at a point in time is processed later.\n\nTo avoid that remove event from the queue and then process it.\n\nBug: Issue 307554728\nChange-Id: Ic075c9dfa0a2e984762fed0aaf7481f035fdd662\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5691ac2e3b44218ed40525025a0839390ebffb2a",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationQueue.java",
      "new_id": "4663702ed2f58aa52583b581b7893118a675a263",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationQueue.java"
    }
  ]
}
