leekeiabstraction commented on code in PR #102:
URL: https://github.com/apache/fluss-rust/pull/102#discussion_r2645653819
##########
crates/fluss/src/client/credentials.rs:
##########
@@ -118,7 +118,9 @@ impl CredentialsCache {
async fn refresh_from_server(&self) -> Result<HashMap<String, String>> {
let cluster = self.metadata.get_cluster();
- let server_node = cluster.get_one_available_server();
+ let server_node = cluster
+ .get_one_available_server()
+ .expect("no tablet server available");
Review Comment:
Let's focus on scanner internal handling of leader availability
--
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]