cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12236) RTE from new CDC column breaks in flight queries.
Date Wed, 27 Jul 2016 16:02:20 GMT


Sylvain Lebresne commented on CASSANDRA-12236:

No, I still don't know how to run those upgrade tests (I was told something about creating
a branch with name starting with {{upgrade_}}, which I tried yesterday, but either that didn't
worked or I don't know where or when that triggers the tests). In any case, it's worth noting
I updated the branch today to
1) make the {{RowUpdateBuilder}} in the tests be a thin wrapper over the newly added builder,
to address Jake's comment above. I still kept the {{RowUpdateBuilder}} class cause it's used
by many tests and I didn't think it was a good use oa my time to go modify all those tests
for no particular reason. It's just a pretty minor test "helper" now.
2) while working on that I noticed that there was another reason why all the columns were
actually send, and that's because the {{unfilteredIterator()}} method in {{PartitionUpdate}},
which is used during serialization, was basically overriding the columns used to be all columns.
I fixed that too.

Anyway, I think the branch is more of less complete, but I just got the result of the last
test run (normal tests, not upgrade ones) and it's not clean so I must have broken something
in the tests. This will have to wait tomorrow however for me to look at it. Still very much
interested in understanding how to run the upgrade test on CI though. 

> RTE from new CDC column breaks in flight queries.
> -------------------------------------------------
>                 Key: CASSANDRA-12236
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jeremiah Jordan
>            Assignee: Sylvain Lebresne
>             Fix For: 3.x
>         Attachments: 12236.txt
> This RTE is not harmless. It will cause the internode connection to break which will
cause all in flight requests between these nodes to die/timeout.
> {noformat}
>     - Due to changes in schema migration handling and the storage format after 3.0, you
>       see error messages such as:
>          "java.lang.RuntimeException: Unknown column cdc during deserialization"
>       in your system logs on a mixed-version cluster during upgrades. This error message
>       is harmless and due to the 3.8 nodes having cdc added to their schema tables while
>       the <3.8 nodes do not. This message should cease once all nodes are upgraded
to 3.8.
>       As always, refrain from schema changes during cluster upgrades.
> {noformat}

This message was sent by Atlassian JIRA

View raw message