You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Carl Yeksigian (JIRA)" <ji...@apache.org> on 2015/09/23 21:19:05 UTC

[jira] [Commented] (CASSANDRA-9967) Determine if a Materialized View is finished building, without having to query each node

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

Carl Yeksigian commented on CASSANDRA-9967:
-------------------------------------------

A few ideas if someone wants to pick this up:

- We should use the {{system_distributed}} keyspace for this, and I think the primary key should be: {{(table_id, host_id)}}
- We should retry updating the table if we don't succeed, and make sure that on startup we have captured all of the builds that we have locally in the distributed table
- We need to make sure that we handle node membership properly
- We should make sure that we set the exit code if the view isn't built yet

> Determine if a Materialized View is finished building, without having to query each node
> ----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-9967
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9967
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Alan Boudreault
>            Priority: Minor
>              Labels: lhf
>             Fix For: 3.x
>
>
> Since MVs are eventually consistent with its base table, It would nice if we could easily know the state of the MV after its creation, so we could wait until the MV is built before doing some operations.
> // cc [~mbroecheler] [~tjake] [~carlyeks] [~enigmacurry]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)