Kaixuan-Duan opened a new pull request, #3313:
URL: https://github.com/apache/fluss/pull/3313

   ### Purpose
   
   Linked issue: close #2974
   
   
   ### Brief change log
   
   - Use `retry` to wait until the in-memory manifest is ready before reading 
`remoteLogSize`, since `waitUntilSomeLogSegmentsCopyToRemote` only ensures ZK 
has the manifest handle but the in-memory `RemoteLogTablet` may not be updated 
yet by `LogTieringTask`.
   - Change the assertion on remote log segment count after rebalance from 
`isEqualTo` to `isGreaterThanOrEqualTo`, since `remoteLogSize` is captured when 
async remote log copy may not have finished uploading all segments yet, so the 
new leader's manifest can contain more segments.
   
   ### Tests
   
   ./mvnw -pl fluss-server 
-Dtest=RebalanceManagerITCase#testRebalanceWithRemoteLog -DfailIfNoTests=false 
verify
   
   ### API and Format
   ### Documentation


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