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

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and 
found nothing similar.
   
   
   ### Fluss version
   
   main (development)
   
   ### Please describe the bug 🐞
   
   When rebuild writer state we shouldn't valid batch sequence. The reason here 
is also quite straightforward: 
   + on one hand, we recover the writer state from the batch within a segment, 
and any batch that can be written to the segment must have already passed the 
previous sequence validation. Therefore, performing the validation again during 
the rebuild process is redundant. 
   + On the other hand, if segment recovery occurs on a follower replica and 
the segment encounters the issue described in 
https://github.com/apache/fluss/issues/1624, then this segment will 
continuously throw an `OutOfOrderSequenceException` during recovery.
   
   ### Solution
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] 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