Skip to content

Commit

Permalink
[fix] [broker] correct compaction phase one timeout meaning (apache#2…
Browse files Browse the repository at this point in the history
…1908)

Correct the description of the config `brokerServiceCompactionPhaseOneLoopTimeInSeconds`
  • Loading branch information
thetumbled authored Jan 22, 2024
1 parent 5a65e98 commit 3fa85f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions conf/broker.conf
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ brokerServiceCompactionMonitorIntervalInSeconds=60
# Using a value of 0, is disabling compression check.
brokerServiceCompactionThresholdInBytes=0

# Timeout for the compaction phase one loop.
# If the execution time of the compaction phase one loop exceeds this time, the compaction will not proceed.
# Timeout for each read request in the compaction phase one loop.
# If the execution time of one single message read operation exceeds this time, the compaction will not proceed.
brokerServiceCompactionPhaseOneLoopTimeInSeconds=30

# Whether retain null-key message during topic compaction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2803,8 +2803,8 @@ The delayed message index time step(in seconds) in per bucket snapshot segment,

@FieldContext(
category = CATEGORY_SERVER,
doc = "Timeout for the compaction phase one loop, If the execution time of the compaction "
+ "phase one loop exceeds this time, the compaction will not proceed."
doc = "Timeout for each read request in the compaction phase one loop, If the execution time of one "
+ "single message read operation exceeds this time, the compaction will not proceed."
)
private long brokerServiceCompactionPhaseOneLoopTimeInSeconds = 30;

Expand Down

0 comments on commit 3fa85f0

Please # to comment.