FFFF feat(storage): enable ttl_only_drop_parts for new log tables by kl7sn · Pull Request #1266 · clickvisual/clickvisual · GitHub
[go: up one dir, main page]

Skip to content

feat(storage): enable ttl_only_drop_parts for new log tables - #1266

Merged
kl7sn merged 1 commit into
masterfrom
kl7sn/ttl-only-drop-parts-github
Oct 28, 2026
Merged

kl7sn merged 1 commit into
masterfrom
kl7sn/ttl-only-drop-parts-github

Conversation

@kl7sn
@kl7sn kl7sn commented Oct 28, 2026
Copy link
Copy Markdown
Collaborator

What changed

New log tables now default to ttl_only_drop_parts = 1 across the legacy ClickHouse storer, standalone and cluster builders, and builder v2 BufferNull tables.

ClickHouse waits until every row in a part expires before dropping the whole part, avoiding large merges for partially expired rows. The configured retention period is unchanged.

Validation

  • CGO_ENABLED=0 go test ./api/internal/service/inquiry/factory -count=1
  • go build ./api/cmd/server
  • git diff --cached --check

@kl7sn
kl7sn merged commit 5f2fa8c into master Oct 28, 2026
5 of 6 checks passed
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.

1 participant

0