adixitconfluent opened a new pull request, #20124: URL: https://github.com/apache/kafka/pull/20124
### About The way state transition works in SharePartition has a couple of problems - 1. In case we arrive at a state which should be treated as final state of that batch/offset (example - LSO movement which causes offset/batch to be ARCHIVED permanently), the result of pending write state RPCs for that offset/batch should not matter for such cases 2. cdscjds I have tried to solve the above problems using a combination of LinkedList and ReadWriteLock to manage state transitions. ### Testing The code has been tested with new and exiting unit tests and existing integration tests. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org