Skip to content

HBASE-30180: Can still add data to read-only region after flipping read-only flag multiple times (#8280) - #8482

Merged
anmolnar merged 1 commit into
apache:branch-3from
Kota-SH:HBASE-30180-branch-3
Sep 11, 2026
Merged

anmolnar merged 1 commit into
apache:branch-3from
Kota-SH:HBASE-30180-branch-3

Conversation

@Kota-SH

@Kota-SH Kota-SH commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

…ad-only flag multiple times (apache#8280)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
(cherry picked from commit 531df7a)
@liuxiaocs7 liuxiaocs7 added the backport This PR is a back port of some issue or issues already committed to master label Jul 20, 2026
@kgeisz

kgeisz commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

LGTM

@kgeisz

kgeisz commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

It looks like the Read-Replica feature was backported to branch-3 in PR #8364. Can we merge this one now?

cc. @anmolnar @taklwu

@taklwu

taklwu commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

@Kota-SH @kgeisz is it possible add a empty commit and retrigger the PR checks?

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The configuration synchronization addresses the reported failure and is covered by focused regression tests.

Pull request overview

Fixes repeated read-only toggles by synchronizing coprocessor state with each component’s effective configuration.

Changes:

  • Rebuilds region coprocessor hosts using CompoundConfiguration.
  • Updates master and region-server configuration handling.
  • Adds regression tests for repeated toggles and configuration type.
File summaries
File Description
CoprocessorConfigurationUtil.java Synchronizes and reloads coprocessor configuration.
HRegion.java Preserves region-specific compound configuration.
HRegionServer.java Uses the updated synchronization API.
HMaster.java Uses the updated synchronization API.
TestHRegion.java Adds repeated-toggle regression coverage.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@anmolnar anmolnar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

@anmolnar
anmolnar merged commit dc1170a into apache:branch-3 Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a back port of some issue or issues already committed to master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants