You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "C. Scott Andreas (JIRA)" <ji...@apache.org> on 2018/11/18 18:00:02 UTC

[jira] [Updated] (CASSANDRA-10405) MV updates should optionally wait for acknowledgement from view replicas

     [ https://issues.apache.org/jira/browse/CASSANDRA-10405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

C. Scott Andreas updated CASSANDRA-10405:
-----------------------------------------
    Component/s: Materialized Views

> MV updates should optionally wait for acknowledgement from view replicas
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10405
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10405
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Materialized Views
>            Reporter: Carl Yeksigian
>            Priority: Minor
>              Labels: materializedviews
>             Fix For: 4.x
>
>
> MV updates are currently completely asynchronous in order to provide parallelism of updates trying to acquire the partition lock. For some use cases, leaving the MV updates asynchronous is exactly what's needed.
> However, there are some use cases where knowing that the update has either succeeded or failed on the view is necessary, especially when trying to allow read-your-write behavior. In those cases, we would follow the same code path as asynchronous writes, but at the end wait on the acknowledgements from the view replicas before acknowledging our write. This option should be for each MV separately, since MVs which need the synchronous properties might be mixed with MV which do not need this.



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

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