)]}'
{
  "commit": "3781ddbfd7534f88317a44e6fee02670fe36a01e",
  "tree": "2c0247c43643cea03672b12d47247acfd4f6d320",
  "parents": [
    "8b000b2217522891cace6ad3b98d805b1a262345"
  ],
  "author": {
    "name": "Serge Bazanski",
    "email": "serge@monogon.tech",
    "time": "Mon Aug 21 20:59:01 2023 +0200"
  },
  "committer": {
    "name": "Serge Bazanski",
    "email": "serge@monogon.tech",
    "time": "Wed Aug 23 08:59:12 2023 +0000"
  },
  "message": "metropolis/curator: report leader based on ledership election status\n\nThis makes GetCurrentLeader calls respond to cluster/leader changes\ninstead of relying on connections getting closed on time when a leader\nchanges, or when a node gets elected as a leader.\n\nThis leads to less churn when cluster leadership status changes (no need\nfor every RPC client to re-establish connectivity to get the new\nleader). It should also be faster to respond to cluster leader changes,\nas it doesn\u0027t rely on the the RPC client detecting that the node it\nconnected to has stopped responding / disconnected.\n\nChange-Id: I9de12286530226b3832d2ae07cb7d943ca537d3f\nReviewed-on: https://review.monogon.dev/c/monogon/+/2069\nTested-by: Jenkins CI\nReviewed-by: Lorenz Brun \u003clorenz@monogon.tech\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "758da27d8b53e63651994adedabca452f008c5e5",
      "old_mode": 33188,
      "old_path": "metropolis/node/core/curator/curator.go",
      "new_id": "bfaa90d5eb4fadd421a721d4a39e7934dcea91f3",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/curator/curator.go"
    },
    {
      "type": "modify",
      "old_id": "c9cc06c41274763c829ec24c093d05f74dbc6c0d",
      "old_mode": 33188,
      "old_path": "metropolis/node/core/curator/impl_follower.go",
      "new_id": "9d1c2be5f11b9100646273b4b77110641e623e10",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/curator/impl_follower.go"
    },
    {
      "type": "modify",
      "old_id": "2290ab9bda64f2e9cf99bd91055224808b281577",
      "old_mode": 33188,
      "old_path": "metropolis/node/core/curator/listener.go",
      "new_id": "77df6841f55b999a9289bb5122cda542c021bd59",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/curator/listener.go"
    }
  ]
}
