kafka/checkstyle
Guillaume Mallet c9347cfd5f
KAFKA-17062: handle dangling "copy_segment_start" state when deleting… (#17359)
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.

Reviewers: Luke Chen <showuon@gmail.com>
2024-10-04 14:51:05 +08:00
..
.scalafmt.conf MINOR: Update to Scala 2.13.12 (#14430) 2023-09-24 06:05:12 -07:00
checkstyle.xml KAFKA-14412: Decouple RocksDB access from CF (#15105) 2024-01-04 11:42:30 +01:00
import-control-core.xml KAFKA-15265: Integrate RLMQuotaManager for throttling copies to remote storage (#15820) 2024-06-12 06:44:47 +05:30
import-control-group-coordinator.xml KAFKA-7632: Support Compression Levels (KIP-390) (#15516) 2024-05-21 17:58:49 +02:00
import-control-jmh-benchmarks.xml KAFKA-15853 Move KRAFT configs out of KafkaConfig (#15775) 2024-04-27 07:02:31 +08:00
import-control-metadata.xml KAFKA-7632: Support Compression Levels (KIP-390) (#15516) 2024-05-21 17:58:49 +02:00
import-control-server-common.xml KAFKA-15853 Move KafkaConfig log properties and docs out of core (#15569) 2024-04-20 04:14:23 +08:00
import-control-server.xml KAFKA-15853 Move socket configs into org.apache.kafka.network.SocketServerConfigs (#15772) 2024-04-23 17:39:36 +08:00
import-control-storage.xml KAFKA-16783: Migrate RemoteLogMetadataManagerTest to new test infra (#15983) 2024-05-22 11:28:01 +08:00
import-control.xml KAFKA-17227: Refactor compression code to only load codecs when used (#16782) (#16811) 2024-08-06 20:56:46 +02:00
java.header MINOR: improve license header check by providing head file instead of (prefix) header regex 2017-02-28 12:35:04 -08:00
suppressions.xml KAFKA-17062: handle dangling "copy_segment_start" state when deleting… (#17359) 2024-10-04 14:51:05 +08:00