Skip to content

[ConfigNode] Support hot reload for timeseries deletion queue capacity - #19410

Merged
jt2594838 merged 1 commit into
apache:masterfrom
Caideyipi:codex/timeseries-deletion-queue-capacity-20261126
Nov 26, 2026
Merged

jt2594838 merged 1 commit into
apache:masterfrom
Caideyipi:codex/timeseries-deletion-queue-capacity-20261126

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Summary

  • Make timeseries_deletion_queue_capacity hot-reloadable on ConfigNodes.
  • Reject non-positive updates without replacing the active value.
  • Preserve already queued deletions when capacity is reduced, while enforcing the new limit for subsequent submissions.

Example

A ConfigNode starts with a queue capacity of 100, then an operator changes it to 20 at runtime. The active limit changes without a restart; tasks already queued remain queued, and new requests are rejected while the queue is at or above the new limit. New requests are accepted again as the queue drains below 20.

Validation

  • spotless:apply -P with-integration-tests -pl iotdb-core/confignode -am
  • clean test -pl iotdb-core/confignode -am -Dtest=TimeseriesDeletionExecutionIntervalHotReloadTest,AsyncTimeSeriesDeletionTest -Dsurefire.failIfNoSpecifiedTests=false (31 tests)

@jt2594838
jt2594838 merged commit 6115bd2 into apache:master Nov 26, 2026
54 of 56 checks passed
@jt2594838
jt2594838 deleted the codex/timeseries-deletion-queue-capacity-20261126 branch November 26, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants