kafka/share-coordinator/src
Sushant Mahajan df93571f50
KAFKA-19338: Error on read/write of uninitialized share part. (#19861)
- Currently, read and write share state requests were allowed on
uninitialized share partitions (share partitions on which
initializeState has NOT been called). This should not be the case.
- This PR addresses the concern by adding error checks on read and
write. Other requests are allowed (initialize, readSummary, alter).
- Refactored `ShareCoordinatorShardTest` to reduce redundancy and added
some new tests.
- Some request/response classes have also been reformatted.

Reviewers: Andrew Schofield <aschofield@confluent.io>
2025-06-03 11:26:38 +01:00
..
main KAFKA-19338: Error on read/write of uninitialized share part. (#19861) 2025-06-03 11:26:38 +01:00
test/java/org/apache/kafka/coordinator/share KAFKA-19338: Error on read/write of uninitialized share part. (#19861) 2025-06-03 11:26:38 +01:00