)]}'
{
  "commit": "8e3930545b70178468fb651921a754326debb583",
  "tree": "4670827bd1172606f8303c37e4c6fa4b5d718a27",
  "parents": [
    "4d87e58eb33dbc0c353be92708a1d332924a253e"
  ],
  "author": {
    "name": "Przemyslaw Waliszewski",
    "email": "pwaliszewski@gmail.com",
    "time": "Mon Feb 15 21:58:33 2021 +0100"
  },
  "committer": {
    "name": "Przemyslaw Waliszewski",
    "email": "pwaliszewski@gmail.com",
    "time": "Wed Mar 03 19:06:00 2021 +0100"
  },
  "message": "Auto-reindex: Restore indexIfNeeded for Groups\n\nIntroduce a new indexIfNeeded implementation for GroupReindexRunnable.\nChange is based on stable-2.15 branch with additional checks for:\n[1]Create new group while passive node is down.\n[2]Adding to subgroup new user while passive node is down.\n\nAfter introducing Gerrit 2.16 with NoteDB, the old implementation didn\u0027t\nsupport changes in ReviewDb interface and was removed. New ReviewDb\ninterface didn\u0027t contain methods required to get necessary data anymore.\nImplementation based on NoteDB compatible interfaces was not presented.\nIn result auto-reindex feature didn\u0027t reindex groups after startup.\n\nBug: Issue 10289\nChange-Id: I4686b810fda014e3277cf253ae6a63720a59ff8a\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "71a0280ccbe64ddb809dca0783262a28d1b08420",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/autoreindex/GroupReindexRunnable.java",
      "new_id": "53bf7743a731c6883a3e6de55899dbd10d9bbb9d",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/autoreindex/GroupReindexRunnable.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "32cc23a1f87a3d5d7746a329be93d6a79734cbdf",
      "new_mode": 33188,
      "new_path": "src/test/java/com/ericsson/gerrit/plugins/highavailability/autoreindex/GroupReindexRunnableTest.java"
    }
  ]
}
