6 Commits
Author SHA1 Message Date
Bruce Zou 7688e69146 use Leader() instead of MaybeLeader() in SendHeartbeat (#10029)
During leader election, MaybeLeader() returns empty string immediately (non-blocking),
causing master to return NotLeaderError without sending HeartbeatResponse.Leader.
Volume servers depend on HeartbeatResponse.Leader to discover the new leader address,
so they keep retrying the old leader and cannot switch.

Switching to Leader() restores the 20-second exponential backoff retry behavior,
ensuring volume servers receive the new leader address as soon as election completes.
2026-06-21 23:11:12 -07:00
Bruce Zou 1dd292fb84 batch drain delta heartbeat messages (#9914) 2026-06-10 13:33:45 -07:00
Bruce Zou 4bc2b6d62b fix nfs list with prefix batch scan (#7694)
* fix nfs list with prefix batch scan

* remove else branch
2025-12-09 21:13:29 -08:00
Bruce Zou fa730abec7 fix rocksdb enumerate (#6858) 2025-06-11 17:55:58 -07:00
Bruce Zou 62aaaa18f3 unlimit the list entries in completeMultipartUpload (#6822) 2025-05-27 03:41:27 -07:00
Bruce Zou 582206b7d2 load configuration before get max_file_name_length (#6766) 2025-05-07 21:52:36 -07:00