rickyma opened a new pull request, #1595: URL: https://github.com/apache/incubator-uniffle/pull/1595
### What changes were proposed in this pull request? Fail fast when the `shuffleId` is cleaned up. ### Why are the changes needed? A follow-up PR for: https://github.com/apache/incubator-uniffle/pull/1574. I encountered a scenario where, during the process of cleaning up the `appId`, if it is a high-concurrency and high-pressure situation, there will still be a large number of requests to cache shuffle data sent to the server in a short period of time. Due to the reason of [#1574](https://github.com/apache/incubator-uniffle/pull/1574), the requests are waiting for the lock to be released at the `flushBuffer` method location, which may cause the accumulation of pre-allocated size and `usedSize`. I think this can be optimized. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing UTs. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
