fresh-borzoni opened a new pull request, #451: URL: https://github.com/apache/fluss-rust/pull/451
`Lookuper::lookup()` captured a cluster snapshot before calling `leader_for()`, then used that snapshot to resolve the leader's server. If `leader_for()` refreshed metadata internally (cache miss -> coordinator RPC), the returned leader could reference a server absent from the stale snapshot, causing a spurious "server not found" error during leader transitions. Proposed fix: connect to the ServerNode returned by `leader_for()` directly as it already contains host and port. Removes the redundant cluster snapshot and the race entirely. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
