Skip to content

[Doc] Clarify multi-tenant data management opt-in and merge config flag (release-4.1 notes)#72358

Open
celerdata2308 wants to merge 1 commit into
mainfrom
doc/clarify-multi-tenant-opt-in-merge-flag
Open

[Doc] Clarify multi-tenant data management opt-in and merge config flag (release-4.1 notes)#72358
celerdata2308 wants to merge 1 commit into
mainfrom
doc/clarify-multi-tenant-opt-in-merge-flag

Conversation

@celerdata2308

@celerdata2308 celerdata2308 commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

What

Updates the New Multi-Tenant Data Management entry in the StarRocks 4.1 release notes (en/zh/ja) to clarify three caveats that surfaced during internal validation and code review at branch-4.1.0 tag:

  1. The feature is opt-in. It requires enable_range_distribution = true (FE config, default false). Upgrading to 4.1 alone does not activate the behavior.
  2. Split trigger is size-based, not access-pattern-based. The original wording "oversized or hotspots" implied access-pattern hotspot detection that is not present in the runtime. Code (TabletReshardUtils.needSplit / TabletStatMgr.triggerTabletReshard) only checks tablet_reshard_target_size (default 10 GB).
  3. Tablet merge is implemented but disabled by default. Code at branch-4.1.0 confirms MergeTabletJob runtime + auto-trigger logic in TabletStatMgr.triggerTabletReshard both ship in 4.1.0, but the feature is gated by tablet_reshard_enable_tablet_merge (default false). The original wording "automatic splitting and merging" implied merge was on by default.

Why

The original release-notes wording overpromised the feature's default behavior. Customers reading the notes today and upgrading to 4.1 without setting either FE config will not observe any automatic tablet reshape, and would reasonably file bugs.

Files changed

  • docs/en/release_notes/release-4.1.md
  • docs/zh/release_notes/release-4.1.md
  • docs/ja/release_notes/release-4.1.md

Reviewers

cc @DanRoscigno @EsoragotoSpirit for docs review.

Behavior change classification

  • Behavior change
  • Doc-only

Backport

  • 4.1

The original 4.1 release-note entry for the New Multi-Tenant Data
Management feature understated three caveats that surfaced during
internal validation and code review:

- The feature is opt-in via FE config 'enable_range_distribution = true'
  (default 'false'). Upgrading to 4.1 alone does not activate it.
- Tablet split is automatic and triggered by a configured size threshold
  ('tablet_reshard_target_size', default 10 GB). The original wording
  'oversized or hotspots' implied access-pattern hotspot detection that
  is not present in the runtime.
- Tablet merge is also implemented in 4.1 but ships behind a separate
  config flag ('tablet_reshard_enable_tablet_merge', default 'false').
  The original wording 'automatic splitting and merging' did not reflect
  that merge requires explicit opt-in.

This change clarifies both the opt-in nature of the feature and the
correct trigger semantics, in en/zh/ja release notes.
@github-actions

Copy link
Copy Markdown
Contributor

[Java-Extensions Incremental Coverage Report]

pass : 0 / 0 (0%)

@github-actions

Copy link
Copy Markdown
Contributor

[FE Incremental Coverage Report]

pass : 0 / 0 (0%)

@github-actions

Copy link
Copy Markdown
Contributor

[BE Incremental Coverage Report]

pass : 0 / 0 (0%)

@github-actions

Copy link
Copy Markdown
Contributor

🌎 Translation Required?

All translation files are up to date.
Great job! No translation actions are required for this PR.

🕒 Last updated: Wed, 29 Apr 2026 21:28:20 GMT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.1 documentation Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant