)]}'
{
  "commit": "ae86555e4922709bb7b2f14d8dc06e0de9c1c4fd",
  "tree": "73709a570825ee74fe370d01219cb549cb45fb4e",
  "parents": [
    "798e4cf8968882c9e899e58bfecd5b926d8b0ca4"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Thu Mar 13 20:59:35 2025 +0000"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Fri Mar 14 01:49:34 2025 -0700"
  },
  "message": "Allow to enable/disable push/pull replication filters\n\nThe multi-site plugin had always enabled all replication filtering with\nthe checking of their global-refdb status. Although it is a good default\nto have, the lack of flexibility brought some additional performance\nissues when running unneeded checks of hundreds of thousands of refs\nagainst the global-refdb. Example: the replication endpoint is not\nGerrit or is a Gerrit replica, therefore there is no need to integrate\nand check with the global-refdb consistency, because the endpoint won\u0027t\nbe tracked under it anyway.\n\nOn Cloud environments where the global-refdb is provided as a service,\nthe consumption of the APIs is very expensive and can also be capped or\nrate-limited, causing potential outages due to unneeded calls.\n\nIntroduce two new settings for enabling/disabling the filtering\nindividually for the push or pull-replication plugins.\n\nExample:\n\n[ref-database]\n  pushReplicationFilterClassEnabled \u003d false\n\nChange-Id: I1989f3bbc8c257f9bb5847e7d3c7755464e2cf3a\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a7a05d3b55ae3e355991924e53dd3c80be39216e",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/multisite/Configuration.java",
      "new_id": "dd694f6d5f948cd4149cd9b409e56c77ca006ea5",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/multisite/Configuration.java"
    },
    {
      "type": "modify",
      "old_id": "db06c9f9c6510e182d7264aba0cdf48e7f1f08a0",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/multisite/PluginModule.java",
      "new_id": "3ced8c6ecc9fddf2e0e8d357f73a399028dafb97",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/multisite/PluginModule.java"
    },
    {
      "type": "modify",
      "old_id": "7547fd985937708f75d7f093837696c5dcb2c1ac",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/config.md",
      "new_id": "d7f72aa4a3b5dd728c243ceaaf51102850bf3513",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/config.md"
    }
  ]
}
