zhaohaidao commented on code in PR #189:
URL: https://github.com/apache/fluss-rust/pull/189#discussion_r2719476770


##########
crates/fluss/src/client/table/scanner.rs:
##########
@@ -745,6 +772,10 @@ impl LogFetcher {
                     .into();
 
                     let error = FlussError::for_code(error_code);
+                    if Self::should_invalidate_bucket_leader(error) {
+                        // TODO: Consider triggering leader invalidation from 
sender/lookup paths.
+                        metadata.invalidate_bucket_leader(&table_bucket);

Review Comment:
   There are semantic differences. If a change in the leader of a single bucket 
triggers a table-level metadata update, is the impact too large?
   @luoyuxia 



-- 
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]

Reply via email to