Skip to content

PHOENIX-6142: Make DDL operations resilient to orphan parent->child linking rows in SYSTEM.CHILD_LINK - #903

Merged
ChinmaySKulkarni merged 1 commit into
apache:4.xfrom
ChinmaySKulkarni:PHOENIX-6142
Oct 21, 2020
Merged

PHOENIX-6142: Make DDL operations resilient to orphan parent->child linking rows in SYSTEM.CHILD_LINK#903
ChinmaySKulkarni merged 1 commit into
apache:4.xfrom
ChinmaySKulkarni:PHOENIX-6142

Conversation

@ChinmaySKulkarni

Copy link
Copy Markdown
Contributor

No description provided.

@ChinmaySKulkarni

Copy link
Copy Markdown
ContributorAuthor

@twdsilva

Copy link
Copy Markdown
Contributor

+1, nice work thanks for fixing all these scenarios.

@ChinmaySKulkarni

Copy link
Copy Markdown
ContributorAuthor

Thanks for the review @twdsilva!
@kadirozde@gjacoby126@jpisaac@yanxinyi as discussed offline, I have written a design doc outlining my approach: PHOENIX-6142 Design Doc. Please take a look. It would be great to get your reviews as well. The push I did after Thomas's review does not contain any code changes. They are just extra comments.

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 30sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ 4.x Compile Tests _
+1 💚mvninstall26m 21s4.x passed
+1 💚compile0m 54s4.x passed
+1 💚checkstyle3m 2s4.x passed
+1 💚javadoc0m 43s4.x passed
+0 🆗spotbugs2m 50sphoenix-core in 4.x has 956 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall22m 49sthe patch passed
+1 💚compile0m 56sthe patch passed
+1 💚javac0m 56sthe patch passed
-1 ❌checkstyle3m 7sphoenix-core: The patch generated 417 new + 5804 unchanged - 345 fixed = 6221 total (was 6149)
-1 ❌whitespace0m 0sThe patch 1 line(s) with tabs.
-1 ❌javadoc0m 43sphoenix-core generated 1 new + 99 unchanged - 1 fixed = 100 total (was 100)
-1 ❌spotbugs3m 6sphoenix-core generated 1 new + 953 unchanged - 3 fixed = 954 total (was 956)
_ Other Tests _
-1 ❌unit125m 23sphoenix-core in the patch failed.
+1 💚asflicense0m 38sThe patch does not generate ASF License warnings.
193m 48s
ReasonTests
FindBugsmodule:phoenix-core
Found reliance on default encoding in org.apache.phoenix.util.ViewUtil.findImmediateRelatedViews(Table, byte[], byte[], byte[], PTable$LinkType, long):in org.apache.phoenix.util.ViewUtil.findImmediateRelatedViews(Table, byte[], byte[], byte[], PTable$LinkType, long): String.getBytes() At ViewUtil.java:[line 287]
Failed junit testsphoenix.end2end.PhoenixRuntimeIT
phoenix.end2end.ToCharFunctionIT
phoenix.end2end.DeleteIT
phoenix.end2end.IndexToolForNonTxGlobalIndexIT
phoenix.end2end.UpsertSelectIT
phoenix.end2end.index.ImmutableIndexExtendedIT
phoenix.end2end.DropSchemaIT
phoenix.end2end.index.IndexMaintenanceIT
phoenix.end2end.OrphanViewToolIT
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-903/6/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#903
JIRA IssuePHOENIX-6142
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux c35418f930ab 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 264310b
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-903/6/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
whitespacehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-903/6/artifact/yetus-general-check/output/whitespace-tabs.txt
javadochttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-903/6/artifact/yetus-general-check/output/diff-javadoc-javadoc-phoenix-core.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-903/6/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-903/6/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-903/6/testReport/
Max. process+thread count6414 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-903/6/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@ChinmaySKulkarni

Copy link
Copy Markdown
ContributorAuthor

None of the tests that failed in the build above are failing locally.
Re-running the preCommit manually to get another run.

@jpisaacjpisaac 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.

+1 LGTM, except a request for a couple of more tests.

Comment threadphoenix-core/src/it/java/org/apache/phoenix/end2end/ViewMetadataIT.java Outdated
@ChinmaySKulkarni

Copy link
Copy Markdown
ContributorAuthor

Thanks for the review @jpisaac , I will modify the test and commit after a successful preCommit

@ChinmaySKulkarni
ChinmaySKulkarni merged commit afda3c1 into apache:4.xOct 21, 2020
@ChinmaySKulkarni
ChinmaySKulkarni deleted the PHOENIX-6142 branch October 21, 2020 16:51
Sign up for freeto 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.

4 participants

@ChinmaySKulkarni@twdsilva@stoty@jpisaac