You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Adar Dembo (JIRA)" <ji...@apache.org> on 2016/03/07 23:50:40 UTC

[jira] [Updated] (KUDU-495) Master should handle the case where we REPLICATE fails

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

Adar Dembo updated KUDU-495:
----------------------------
             Assignee: Adar Dembo  (was: Alex Feinberg)
    Affects Version/s: 0.7.0
     Target Version/s: 0.8.0
             Priority: Critical  (was: Major)

> Master should handle the case where we REPLICATE fails
> ------------------------------------------------------
>
>                 Key: KUDU-495
>                 URL: https://issues.apache.org/jira/browse/KUDU-495
>             Project: Kudu
>          Issue Type: Sub-task
>          Components: master
>    Affects Versions: M5, 0.7.0
>            Reporter: Alex Feinberg
>            Assignee: Adar Dembo
>            Priority: Critical
>
> Master should handle the case where the REPLICATE fails (which I discovered when running a transaction against a non-leader case) in SysTables.
> This is a bit tricky as for master we update the in-memory tables *first*, then commit the transaction.
> Only way would be able to do the following:
> Under the lock for the appropriate CopyOnWrite object--
> 1) Save the old version of the object.
> 2) Make the appropriate modification.
> 3) If REPLICATE fails, go back to the old version.



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