Skip to content

[doc](compaction) mark single replica compaction as deprecated in 2.x/3.x docs#3981

Merged
csun5285 merged 1 commit into
apache:masterfrom
csun5285:deprecate-single-replica-compaction
Jul 14, 2026
Merged

[doc](compaction) mark single replica compaction as deprecated in 2.x/3.x docs#3981
csun5285 merged 1 commit into
apache:masterfrom
csun5285:deprecate-single-replica-compaction

Conversation

@csun5285

@csun5285 csun5285 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Single replica compaction was removed in Doris 4.1.2 (apache/doris#63771) because its peer selection carries a data correctness risk: replicas pull compacted files based on periodically refreshed replica info while each replica advances through versions independently, so the selection can act on a stale view of the cluster and cause subtle data inconsistencies.

Add deprecation notices to the compaction feature docs and the enable_single_replica_compaction property descriptions in CREATE-TABLE for versions 2.1 and 3.x, in both English and Chinese.

Versions

  • dev
  • 4.x
  • 3.x
  • 2.1 or older (not covered by version/language sync gate)

Languages

  • Chinese
  • English
  • Japanese candidate translation needed

Docs Checklist

  • Checked by AI
  • Test Cases Built
  • Updated required version and language counterparts, or explained why not
  • If only one language changed, confirmed whether source/translation counterparts need sync

…/3.x docs

Single replica compaction was removed in Doris 4.1.2 (apache/doris#63771) because its peer selection carries a data correctness risk: replicas pull compacted files based on periodically refreshed replica info while each replica advances through versions independently, so the selection can act on a stale view of the cluster and cause subtle data inconsistencies.

Add deprecation notices to the compaction feature docs and the enable_single_replica_compaction property descriptions in 2.1 and 3.x, in both English and Chinese.
@csun5285 csun5285 force-pushed the deprecate-single-replica-compaction branch from b1fc9c5 to 33bc23c Compare July 14, 2026 03:55
@csun5285 csun5285 merged commit 4fd5df9 into apache:master Jul 14, 2026
3 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