)]}'
{
  "commit": "aa8125a4aa6375a57a7e5422df842eada784a9ae",
  "tree": "cae24fe5e408594cee4036ac1eb25a18862ca696",
  "parents": [
    "03bcbc7b9e3ae9eaac5f11a67941538f329998e2"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Thu Dec 17 00:47:35 2020 +0000"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Thu Dec 17 22:02:28 2020 +0000"
  },
  "message": "Lock on index element id rather than on index task id\n\nThe execution of concurrent reindexing operations\nto the secondary Gerrit servers was erronously using the\ntask id rather than the index id (index type / element id).\n\nThat caused the possibility of concurrent conflicting reindexing\noperations (e.g. indexing Change ABC and removing it at the same\ntime).\n\nEven though this concurrency was very unlikely to happen, it could\nactually be possible when the reindexing was going through a series\nof retry cycles.\n\nCreate specific IndexEventLocks concurrency tests to highlight\nthis and future concurrency issues with the locking mechanism.\n\nBug: Issue 13835\nChange-Id: Ic6d7d1ad227d08277fd8f246ddd26bf241830c6b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b311db9fda69d3572b9ac9bfd335a570527112d4",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/IndexEventHandler.java",
      "new_id": "368581ce003e216f5b15080a65f12b0386e176a4",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/IndexEventHandler.java"
    },
    {
      "type": "modify",
      "old_id": "4434c34ae259c15628196c69e5568d8bda6b6824",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/IndexEventLocks.java",
      "new_id": "332a7d60a4a97eecfda0b7a9d7ac1f17d2c94a54",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/IndexEventLocks.java"
    },
    {
      "type": "modify",
      "old_id": "7097a3a2660f84d639921c54bf4abb80c142414f",
      "old_mode": 33188,
      "old_path": "src/test/java/com/ericsson/gerrit/plugins/highavailability/index/IndexEventHandlerTest.java",
      "new_id": "ffad41fab284bbf853bf1e1344b70675db7db8e5",
      "new_mode": 33188,
      "new_path": "src/test/java/com/ericsson/gerrit/plugins/highavailability/index/IndexEventHandlerTest.java"
    }
  ]
}
