Skip to content

PHOENIX-6534 Upgrades from pre 4.10 versions are broken - #1293

Closed
stoty wants to merge 1 commit into
apache:masterfrom
stoty:PHOENIX-6534
Closed

PHOENIX-6534 Upgrades from pre 4.10 versions are broken#1293
stoty wants to merge 1 commit into
apache:masterfrom
stoty:PHOENIX-6534

Conversation

@stoty

@stotystoty commented Sep 7, 2021

Copy link
Copy Markdown
Contributor

The patch restores the correct behaviour (and largely the code) that was removed by mistake in PHOENIX-5403.

@stoty

stoty commented Sep 7, 2021

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec9m 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.
_ master Compile Tests _
+1 💚mvninstall24m 27smaster passed
+0hbaserecompile31m 36sHBase recompiled.
+1 💚compile1m 7smaster passed
+1 💚checkstyle1m 21smaster passed
+1 💚javadoc0m 53smaster passed
+0 🆗spotbugs3m 27sphoenix-core in master has 972 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall18m 52sthe patch passed
+0hbaserecompile30m 50sHBase recompiled.
+1 💚compile1m 21sthe patch passed
+1 💚javac1m 21sthe patch passed
-1 ❌checkstyle1m 35sphoenix-core: The patch generated 1 new + 1394 unchanged - 0 fixed = 1395 total (was 1394)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc1m 5sthe patch passed
+1 💚spotbugs4m 16sthe patch passed
_ Other Tests _
-1 ❌unit158m 46sphoenix-core in the patch failed.
+1 💚asflicense0m 59sThe patch does not generate ASF License warnings.
247m 28s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1293/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1293
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaserebuild hbaseanti checkstyle compile
unameLinux fa7c0bab6ff3 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 06:54:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revisionmaster / 67cef07
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-1293/1/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1293/1/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-1293/1/testReport/
Max. process+thread count5936 (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-1293/1/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.

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

Nice find, left one question, mostly good to go otherwise.

} else {
colUpsert.setBytes(19, column.getColumnQualifierBytes());
}
colUpsert.setBoolean(20, column.isRowTimestamp());

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.

Do we not need this check if (colUpsert.getParameterMetaData().getParameterCount() > 19 here?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

No, we only have two possible upsert statements, one with 18, and one with 20 parameters.

The old version had three, so it needed both checks, but the 19 parameter one has been removed since.

@virajjasanivirajjasani 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

@stotystoty closed this Sep 8, 2021
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.

2 participants

@stoty@virajjasani