)]}'
{
  "commit": "7dd3d90e1c4bb92dfde626eaa429fb37afa4d41c",
  "tree": "1b6ee54ebc2df7dca80e76b81b77db137fe035a0",
  "parents": [
    "bb56657f210c704334ad66723e3a297e1ed37e1b"
  ],
  "author": {
    "name": "Saša Živkov",
    "email": "sasa.zivkov@sap.com",
    "time": "Tue Jul 04 17:27:46 2017 +0200"
  },
  "committer": {
    "name": "Saša Živkov",
    "email": "sasa.zivkov@sap.com",
    "time": "Wed Jul 12 11:23:12 2017 +0200"
  },
  "message": "Use rescheduleDelay instead of replicationDelay when rescheduling\n\nThe replicationDelay was used for two purposes:\na) initial delay to schedule a replication\nb) delay when rescheduling the replication due to an in-flight push\n\nThe replicationDelay could be set to zero, which make sense for the case a) but\ndoesn\u0027t make sense for the case b). Actually, when replicationDelay is set to\nzero, the case b) will cause an excessive number of retries (over 1K/second) and\nwill also fire a replication failed event for each retry. The latter is yet\nanother issue and will be addressed in another change.\n\nIntroduce a new config parameter rescheduleDelay and use it for the\ncase b). Make sure it cannot bet set to a value lower than 3 seconds to\navoid the same issue.\n\nIn order to keep backwards compabitility with using the replicationDelay\nas rescheduleDelay, a plugin init step is added. For each remote section\nwhich doesn\u0027t already define rescheduleDelay, it will set rescheduleDelay\nto the current value of the replicationDelay, unless replicationDelay is\nset to zero. In the latter case it will assume the default value for\nthe rescheduleDelay.\n\nChange-Id: Ia78f46460b531b04ee36ec2d5ab4228dba5c0c50\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "eb92f6dadd99b3d99cf52b3017ddc893add368af",
      "old_mode": 33188,
      "old_path": "BUILD",
      "new_id": "1cad80c4b03b8e85b07a41039f1ee68cb0e26518",
      "new_mode": 33188,
      "new_path": "BUILD"
    },
    {
      "type": "modify",
      "old_id": "dd401afa065d6744d0737b1e724c9ed0fa516201",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java",
      "new_id": "f8e2d7bf2fe0576436aeb714a0e559d6554ad2a8",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java"
    },
    {
      "type": "modify",
      "old_id": "fc109bf9ed0d80a2fdc2db3cd142d9c01c4affd9",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/DestinationConfiguration.java",
      "new_id": "856ffb15d6ec9a4fb57f5db09cd47d8c1cc14319",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/DestinationConfiguration.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a9fdb4fa24f9f0de2a3545c2bf30e8aece70f21f",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/Init.java"
    },
    {
      "type": "modify",
      "old_id": "50664dd2e2e956c790b0e162e54331c7fb6f85cf",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/config.md",
      "new_id": "d8fe9e550d2182469f81197f70fc8e3da72ce5e9",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/config.md"
    }
  ]
}
