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

Mike Percy updated KUDU-495:
----------------------------
    Parent: KUDU-422

> 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
>            Reporter: Alex Feinberg
>            Assignee: Alex Feinberg
>
> 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)

Reply via email to