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

Duarte Nunes commented on CASSANDRA-13762:
------------------------------------------

I think this patch assumes the base node receiving the streamed data will be 
paired with the same view replica as the source base node. Is this true? If so, 
how is that guaranteed?

 

If not, then we might still want to send out view updates. We would need to 
check whether all replicas for the range in question have finished building 
their views, not just the source node.

> Ensure views created during (or just before) range movements are properly 
> built
> -------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-13762
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13762
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Materialized Views
>            Reporter: Paulo Motta
>            Assignee: Paulo Motta
>            Priority: Minor
>              Labels: materializedviews
>         Attachments: trunk-13762-dtest.png, trunk-13762-testall.png
>
>
> CASSANDRA-13065 assumes the source node has its views built to skip running 
> base mutations through the write path during range movements.
> It is possible that the source node has not finished building the view, or 
> that a new view is created during a range movement, in which case the view 
> may be wrongly marked as built on the destination node.
> The former problem was introduced by #13065, but even before that a view 
> created during a range movement may not be correctly built on the destination 
> node because the view builder will be triggered before it has finished 
> streaming the source data, wrongly marking the view as built on that node.



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

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

Reply via email to