You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Vinay Chella (JIRA)" <ji...@apache.org> on 2019/02/08 02:15:00 UTC

[jira] [Created] (CASSANDRA-15016) bootstrap_upgrade_test.py::TestBootstrapUpgrade::test_simple_bootstrap_mixed_versions is failing on 3.11.4

Vinay Chella created CASSANDRA-15016:
----------------------------------------

             Summary: bootstrap_upgrade_test.py::TestBootstrapUpgrade::test_simple_bootstrap_mixed_versions is failing on 3.11.4
                 Key: CASSANDRA-15016
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15016
             Project: Cassandra
          Issue Type: Bug
          Components: Test/dtest
            Reporter: Vinay Chella
            Assignee: Vinay Chella


test_simple_bootstrap_mixed_versions is failing due to CASSANDRA-13004, which introduced "cassandra.force_3_0_protocol_version" for schema migrations during upgrades from 3.0.14 upwards. This flag is missing in `test_simple_bootstrap_mixed_versions` while we are adding/bootstrapping 3.11.4 node to an existing 3.5 version of C* node, which resulted in {{ks}} keyspace schema/data not being bootstrapped to the new node. 

I debugged and confirmed that [MigrationManager::is30Compatible|https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/service/MigrationManager.java#L181-L185] is returning false which is forcing [MigrationManager::shouldPullSchemaFrom|https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/service/MigrationManager.java#L168-L177] to return false as well.  


*from debug logs:*

{code:java}
DEBUG [GossipStage:1] 2019-02-06 23:20:47,392 MigrationManager.java:115 - Not pulling schema because versions match or shouldPullSchemaFrom returned fal
{code}
se




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org