cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrés de la Peña (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-10130) Node failure during 2i update after streaming can have incomplete 2i when restarted
Date Fri, 16 Jun 2017 12:18:01 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-10130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16051794#comment-16051794
] 

Andrés de la Peña edited comment on CASSANDRA-10130 at 6/16/17 12:17 PM:
-------------------------------------------------------------------------

[~pauloricardomg], I think that the suggestions have a lot of sense, we are so close to finish
it :). 

It seems that [moving the update of {{queryableIndexes}}|https://github.com/pauloricardomg/cassandra/commit/74f3eea2d7aa89b644f1ddbc96f9f6d987a27f73]
is [breaking some tests at {{SASIIndexTest}}|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-10130-trunk-paulo-testall/lastCompletedBuild/testReport/].
These tests assume that an invalidated index is still able of responding queries, [here|https://github.com/apache/cassandra/blob/trunk/test/unit/org/apache/cassandra/index/sasi/SASIIndexTest.java#L858-L870]
and also [here|https://github.com/apache/cassandra/blob/trunk/test/unit/org/apache/cassandra/index/sasi/SASIIndexTest.java#L799-L815].
Not sure about if we should preserve this behaviour or change the SASI test.


was (Author: adelapena):
[~pauloricardomg], I think that the suggestions have a lot of sense, we are so close to finish
it :). 

It seems that [moving the update of {{queryableIndexes}}|https://github.com/pauloricardomg/cassandra/commit/74f3eea2d7aa89b644f1ddbc96f9f6d987a27f73]
is [breaking some tests at {{SASIIndexTest}}|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-10130-trunk-paulo-testall/lastCompletedBuild/testReport/],
I'm diving into it.

> Node failure during 2i update after streaming can have incomplete 2i when restarted
> -----------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10130
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10130
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Coordination
>            Reporter: Yuki Morishita
>            Assignee: Andrés de la Peña
>            Priority: Minor
>
> Since MV/2i update happens after SSTables are received, node failure during MV/2i update
can leave received SSTables live when restarted while MV/2i are partially up to date.
> We can add some kind of tracking mechanism to automatically rebuild at the startup, or
at least warn user when the node restarts.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message