)]}'
{
  "commit": "c5320289eef6099d67da82e22a6aef882d4e3e77",
  "tree": "6f589db1015fa928afa1e668064de3cde6e35031",
  "parents": [
    "8402c360f1e8c53a3aa6a394b48909980053ecea"
  ],
  "author": {
    "name": "Martin Fick",
    "email": "mfick@codeaurora.org",
    "time": "Fri Feb 14 17:31:53 2020 -0700"
  },
  "committer": {
    "name": "Sumit LNU",
    "email": "suchawla@codeaurora.org",
    "time": "Mon Jun 07 10:28:26 2021 +0530"
  },
  "message": "Avoid read and updating the event sequences simultaneously\n\nAdd a java synchronized around the reads and updates to the sequence\nvalues to ensure that a single process on the same host using the object\ncorrectly does not alone cause NFS_silly_renames which can result in the\nloss of the value file. Adjust the FsStoreTest to use a common FsStore\nso that the synchronized will work across the different test threads.\nTesting shows that with this change, the value file is never lost from\nthe code itself. In theory it can still be lost be reading the value\nfile externally or running this more than once on the same host.\n\nChange-Id: Ifc7651f8123550d41faaeade16885244bf5101ac\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9fbad13eafd5780195b0f10f231ced79feb0d440",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/events/fsstore/FileValue.java",
      "new_id": "c291638b7ac352d60b9ed7d3e4a171e8566317ea",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/events/fsstore/FileValue.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5be6a39af209bf1b7dab44e88082268c54d2d34e",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/events/fsstore/NfsFileValue.java"
    },
    {
      "type": "modify",
      "old_id": "9032df68454e4de91d006a2f69b4b655fe4c96cc",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/events/fsstore/UpdatableFileValue.java",
      "new_id": "bc8e9a5f6ed84e58208ad53fe340ef0d79f41c53",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/events/fsstore/UpdatableFileValue.java"
    },
    {
      "type": "modify",
      "old_id": "fb7539d04ae33fc54f3a02144bd3e14c068c7a46",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/events/fsstore/FsStoreTest.java",
      "new_id": "80fa5d0cd233c08f0206ecfc36a6d6d595613831",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/events/fsstore/FsStoreTest.java"
    }
  ]
}
