Skip to content

PHOENIX-7870 :- Per-HA-group poller futures and url1/url2 alternation in GetClusterRoleRecordUtil (ADDENDUM)#2494

Merged
lokiore merged 1 commit into
apache:PHOENIX-7562-feature-newfrom
lokiore:PHOENIX-7870-spotless-addendum
Jun 3, 2026
Merged

PHOENIX-7870 :- Per-HA-group poller futures and url1/url2 alternation in GetClusterRoleRecordUtil (ADDENDUM)#2494
lokiore merged 1 commit into
apache:PHOENIX-7562-feature-newfrom
lokiore:PHOENIX-7870-spotless-addendum

Conversation

@lokiore
Copy link
Copy Markdown
Contributor

@lokiore lokiore commented Jun 3, 2026

Summary

Pure-formatting addendum on top of PHOENIX-7562-feature-new produced by mvn spotless:apply -DskipTests -q. No source-logic changes.

The earlier merges into PHOENIX-7562-feature-new (PHOENIX-7870 / PHOENIX-7871 / preceding) inadvertently shipped without spotless:apply being run pre-PR, so the feature branch is currently failing spotless:check. This PR brings the branch back in compliance.

What changed

7 files (Javadoc rewraps, <p> tag placement, line-length-driven argument breaks):

  • phoenix-core-client/src/main/java/org/apache/phoenix/exception/MutationBlockedIOException.java
  • phoenix-core-client/src/main/java/org/apache/phoenix/exception/StaleClusterRoleRecordException.java
  • phoenix-core-client/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
  • phoenix-core-client/src/main/java/org/apache/phoenix/util/GetClusterRoleRecordUtil.java
  • phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexRegionObserverMutationBlockingIT.java
  • phoenix-core/src/test/java/org/apache/phoenix/exception/HaFailoverExceptionInheritanceTest.java
  • phoenix-core/src/test/java/org/apache/phoenix/util/GetClusterRoleRecordUtilTest.java

Diff stat: 102 insertions(+), 107 deletions(-). git diff -w shows zero non-whitespace delta.

Test plan

  • mvn spotless:apply -DskipTests -q produced the diff (deterministic)
  • mvn spotless:check -DskipTests -q PASSES on the resulting tree
  • mvn -pl phoenix-core-client -am compile PASS
  • mvn -pl phoenix-core-client -am test-compile PASS
  • mvn -pl phoenix-core -am test-compile PASS (for the IT module that owns one of the modified files)
  • mvn -pl phoenix-core-client -am test -Dtest=GetClusterRoleRecordUtilTest PASS
  • CI: spotless gate green on this PR

AI disclosure

Part of this work was produced with the assistance of Claude Code (Opus 4.7), an AI coding assistant. A human contributor reviewed all changes before committing and is responsible for the result. Per the ASF generative-tooling policy, the commit also carries a Generated-by: Claude Code (Opus 4.7) trailer.

Backwards compatibility

No behavioral change — formatting only.

Migration notes

None.

@lokiore lokiore changed the title PHOENIX-7870 :- Apply spotless formatting on PHOENIX-7562-feature-new PHOENIX-7870 :- Per-HA-group poller futures and url1/url2 alternation in GetClusterRoleRecordUtil (ADDENDUM) Jun 3, 2026
… in GetClusterRoleRecordUtil (ADDENDUM)

Pure formatting addendum produced by `mvn spotless:apply -DskipTests -q`
on the current tip of PHOENIX-7562-feature-new. No source-logic changes.

The original PHOENIX-7870 merge into PHOENIX-7562-feature-new shipped
without `spotless:apply` being run pre-PR, so the feature branch is
currently failing `spotless:check`. This addendum brings it back in
compliance.

Files affected (7):
  - phoenix-core-client/.../exception/MutationBlockedIOException.java
  - phoenix-core-client/.../exception/StaleClusterRoleRecordException.java
  - phoenix-core-client/.../schema/MetaDataClient.java
  - phoenix-core-client/.../util/GetClusterRoleRecordUtil.java
  - phoenix-core/.../end2end/index/IndexRegionObserverMutationBlockingIT.java
  - phoenix-core/.../exception/HaFailoverExceptionInheritanceTest.java
  - phoenix-core/.../util/GetClusterRoleRecordUtilTest.java

Local verification:
  - mvn spotless:check on the tree post-apply: PASS
  - mvn -pl phoenix-core-client -am compile: PASS
  - mvn -pl phoenix-core-client -am test-compile: PASS
  - mvn -pl phoenix-core -am test-compile: PASS
  - mvn -pl phoenix-core-client -am test -Dtest=GetClusterRoleRecordUtilTest: PASS

Generated-by: Claude Code (Opus 4.7)
@lokiore lokiore force-pushed the PHOENIX-7870-spotless-addendum branch from 22d53c1 to 07fc41c Compare June 3, 2026 19:54
@lokiore lokiore merged commit b45336a into apache:PHOENIX-7562-feature-new Jun 3, 2026
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