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

Andrés de la Peña commented on CASSANDRA-10130:
-----------------------------------------------

And [here is a 
dtest|https://github.com/riptano/cassandra-dtest/compare/master...adelapena:CASSANDRA-10130]
 reproducing the problem and testing the patch. 

It uses byteman to simulate an index building failure during the load of 
SSTables with sstableloader. It checks that after the sstableloader failure the 
table rows are loaded but not indexed, and the index is marked for future 
rebuilding. Then, it restarts the node and checks that the index is rebuilt and 
not marked for rebuilding anymore.

> 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.3.15#6346)

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

Reply via email to