swuferhong opened a new issue, #2202:
URL: https://github.com/apache/fluss/issues/2202

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and 
found nothing similar.
   
   
   ### Description
   
   Currently, when a `MetadataRequest` is sent, if the requested tableBucket 
contains partitions that do not exist, fluss server will directly throws an 
RPC-level exception: `PartitionNotExistException`. This makes it impossible for 
the client to handle the error gracefully. For example, the `LogFetcher` would 
crash immediately, affecting the reading of other normal tableBuckets.
   
   To address this, it is proposed to return a set of invalid partitions (i.e., 
all non-existent partitions) instead of throwing an exception. This allows the 
`LogFetcher` to report these invalid partitions to the user, who can then 
customize the next fetch logic (e.g., skip or retry specific partitions).
   
   ### Willingness to contribute
   
   - [ ] I'm willing to submit a PR!


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