)]}'
{
  "commit": "d6448b5092aa2231ca5f4894a37a7821f7e8423b",
  "tree": "74ec734f2489274b3e2c7eb464978e04479275e7",
  "parents": [
    "8d9a6c1cfcf9cf81a9af92f381ff2e93b7d066d6"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Sat Nov 07 01:13:13 2020 +0000"
  },
  "committer": {
    "name": "Marcin Czech",
    "email": "maczech@gmail.com",
    "time": "Mon Nov 16 11:08:52 2020 +0000"
  },
  "message": "Stop occupying threads during retry phase\n\nBefore this change, the retry mechanism was implemented in the\nway that instead of having a queue with an async executor,\nthere is a loop with sleep which causes the current thread to block.\nThis causes threads starvation on the forwarder site and brings down\nthe Gerrit node. Removing the loop and rescheduling the entire task\nallows to unblock the thread and queue the retry which solves the\nstarvation issue.\n\nBug: Issue 9941\nChange-Id: Ie0fd642a6c1150ea9daa02e9cc346043d0c5bc7f\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "49cdc8b65cccd88b982b2060db69c9c57f6aaebb",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/Forwarder.java",
      "new_id": "bb47f116150229b366c24e330c0f8a57b8b233ba",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/Forwarder.java"
    },
    {
      "type": "modify",
      "old_id": "fb3aba972cfa2cb718cbf03c7178a2d2767343b7",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/RestForwarder.java",
      "new_id": "ef85df8cbfa53bd4137d79f328850c2bc2122a5e",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/RestForwarder.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ebbd9402d2b172c65fc4029f4c05838d34318cdc",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/RestForwarderScheduler.java"
    },
    {
      "type": "modify",
      "old_id": "a352e380bb3289dc3c9cb7d2ec9ea00fc418e1ab",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/IndexEventHandler.java",
      "new_id": "b311db9fda69d3572b9ac9bfd335a570527112d4",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/IndexEventHandler.java"
    },
    {
      "type": "modify",
      "old_id": "4617e08ff67ee89b806a9187e897582aef3736da",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/IndexEventLocks.java",
      "new_id": "4434c34ae259c15628196c69e5568d8bda6b6824",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/highavailability/index/IndexEventLocks.java"
    },
    {
      "type": "modify",
      "old_id": "55a3c2ac4abff1c8767d79bdaf9bb8862c9261cb",
      "old_mode": 33188,
      "old_path": "src/test/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/RestForwarderTest.java",
      "new_id": "44e6e73644652af23ebda9a53a739f1fab0e8db6",
      "new_mode": 33188,
      "new_path": "src/test/java/com/ericsson/gerrit/plugins/highavailability/forwarder/rest/RestForwarderTest.java"
    },
    {
      "type": "modify",
      "old_id": "9a387a7747469d47a181d65ddce35390168eaf03",
      "old_mode": 33188,
      "old_path": "src/test/java/com/ericsson/gerrit/plugins/highavailability/index/IndexEventHandlerTest.java",
      "new_id": "7097a3a2660f84d639921c54bf4abb80c142414f",
      "new_mode": 33188,
      "new_path": "src/test/java/com/ericsson/gerrit/plugins/highavailability/index/IndexEventHandlerTest.java"
    }
  ]
}
