mirror of https://github.com/apache/kafka.git
				
				
				
			| The COPY_SEGMENT_STARTED state segments are counted when calculating remote retention size. This causes unexpected retention size breached segment deletion. This PR fixes it by 1. only counting COPY_SEGMENT_FINISHED and DELETE_SEGMENT_STARTED state segments when calculating remote log size. 2. During copy Segment, if we encounter errors, we will delete the segment immediately. 3. Tests added. Co-authored-by: Guillaume Mallet <> Reviewers: Kamal Chandraprakash<kamal.chandraprakash@gmail.com>, Satish Duggana <satishd@apache.org>, Guillaume Mallet <> | ||
|---|---|---|
| .. | ||
| .scalafmt.conf | ||
| checkstyle.xml | ||
| import-control-coordinator-common.xml | ||
| import-control-core.xml | ||
| import-control-group-coordinator.xml | ||
| import-control-jmh-benchmarks.xml | ||
| import-control-metadata.xml | ||
| import-control-server-common.xml | ||
| import-control-server.xml | ||
| import-control-share-coordinator.xml | ||
| import-control-share.xml | ||
| import-control-storage.xml | ||
| import-control-transaction-coordinator.xml | ||
| import-control.xml | ||
| java.header | ||
| suppressions.xml | ||