[
https://issues.apache.org/jira/browse/CASSANDRA-16415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17285782#comment-17285782
]
Jacek Lewandowski commented on CASSANDRA-16415:
-----------------------------------------------
For the problem discovered by {{InsertUpdateIfConditionTest}} I must say it is
probably caused by partial lack of CASSANDRA-13025 in {{trunk}}. I don't know
if it was on purpose or it was a merge conflict or what - there were some
changes in {{CASRequest}} in 3.0 and 3.11, but in {{trunk}} {{CASRequest}}
became an interface and the actual implementation is in {{CQL3CASRequest}}. I
assume that it could cause the merge conflict which was not solved properly.
I updated tests a bit in the following ways:
* so far, all the tests which do not touch {{Gossiper}} could run assuming the
cluster is upgrading from null version - I've changed it so if the {{Gossiper}}
is not started, we do not assume any upgrade
* I've created a utility method to setup {{Gossiper}} to mimic upgrade from
certain version
* {{ColumnFilterTest}} and {{InsertUpdateIfConditionTest}} are now
parameterized with the minimum version so we test all scenarios
> Broken test mixedModeReadColumnSubsetDigestCheck -
> org.apache.cassandra.distributed.upgrade.MixedModeReadTest
> -------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-16415
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16415
> Project: Cassandra
> Issue Type: Bug
> Components: Consistency/Coordination, Test/dtest/java
> Reporter: Yifan Cai
> Assignee: Jacek Lewandowski
> Priority: Normal
> Fix For: 3.11.x, 4.0-beta
>
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> The test has been failing and can always be reproduced in the recent CI.
> Stack trace:
> {code:java}
> junit.framework.AssertionFailedError: Found Digest Mismatch
> at
> org.apache.cassandra.distributed.upgrade.MixedModeReadTest.checkTraceForDigestMismatch(MixedModeReadTest.java:89)
> at
> org.apache.cassandra.distributed.upgrade.MixedModeReadTest.lambda$mixedModeReadColumnSubsetDigestCheck$0(MixedModeReadTest.java:63)
> at
> org.apache.cassandra.distributed.upgrade.UpgradeTestBase$TestCase.run(UpgradeTestBase.java:171)
> at
> org.apache.cassandra.distributed.upgrade.MixedModeReadTest.mixedModeReadColumnSubsetDigestCheck(MixedModeReadTest.java:76)
> {code}
> The initial investigation shows that
> * The test only fails in the setup phase of
> mixedModeReadColumnSubsetDigestCheck. The cluster version is
> *Versions.Major.v3X*
> * The test failure is likely a consequence of CASSANDRA-15962. After
> dropping the commit in branch cassandra-3.11 and rebuild the dtest jar, the
> upgrade test can pass. Meanwhile, dropping the other commits does not help.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]