)]}'
{
  "commit": "cb96b8ec7e879f1ec218cbbdd105e98804fd6c71",
  "tree": "d2db5af2c884f70ac8d3cec7746cb4085d7b10ad",
  "parents": [
    "4ba0258a0345e94769a1d503ffdfaf4d8d0f05d2"
  ],
  "author": {
    "name": "Marcin Czech",
    "email": "maczech@gmail.com",
    "time": "Wed Oct 25 14:24:05 2023 +0200"
  },
  "committer": {
    "name": "Diego Zambelli Sessona",
    "email": "diego.sessona@gmail.com",
    "time": "Mon Nov 13 09:01:46 2023 +0000"
  },
  "message": "Remove events from beforeStartupEventsQueue in-memory queue\n\nBefore pull-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 307592553\nChange-Id: I946deebe15b92bad00e1127e738ef2540ee78983\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5f4f5bc52c6f8496a36243cde6e785721dd24d4c",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/ReplicationQueue.java",
      "new_id": "fe6a17c45a109e555b41e4b85371a55af3a23e12",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/ReplicationQueue.java"
    }
  ]
}
