yuluo-yx opened a new pull request, #10864: URL: https://github.com/apache/rocketmq/pull/10864
### Which Issue(s) This PR Fixes - Fixes #10859 ### Brief Description `IndexStoreService.putKey` previously returned `SUCCESS` after all three index write attempts failed. This change keeps the last `AppendResult` and returns it when retries are exhausted, while preserving the existing success and file-rotation paths. A regression test makes the index file return `FILE_FULL` three times and verifies both the returned error and retry count. ### How Did You Test This Change? - `mise exec [email protected]+10 -- mvn -pl tieredstore -am -DskipITs -Dtest=IndexStoreServiceTest -Dsurefire.failIfNoSpecifiedTests=false test` - Result: `BUILD SUCCESS`; 11 tests, 0 failures, 0 errors, 0 skipped. - Scope check: 2 files, 24 changed lines. -- 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]
