You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Semen Boikov (JIRA)" <ji...@apache.org> on 2016/04/07 15:13:25 UTC

[jira] [Commented] (IGNITE-2864) Need update local store from primary and backups

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

Semen Boikov commented on IGNITE-2864:
--------------------------------------

Hi Anton,

I reviewed your changes, have some comments:
- in atomic cache when store is updated on backup you need check 'skipStore' flag (it should be passed in GridDhtAtomicUpdateRequest)
- method IgniteTxRemoteStateAdapter.stores() should return only stores participating in transaction. When fix it, please try to avoid unnesessary iterations if we know in advance that caches participating in tx do not have stores configured.

> Need update local store from primary and backups
> ------------------------------------------------
>
>                 Key: IGNITE-2864
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2864
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Semen Boikov
>            Assignee: Anton Vinogradov
>             Fix For: 1.6
>
>
> Now cache local store is updated only from primary nodes, this means that data can be lost if primary node is not re-started after crash. Need fix it and update store from primaries and backups if store is local (for both tx and atomic caches).
> This test should work:
> - cache with 1 backup, two server nodes
> - execute cache put for key K
> - stop both nodes
> - restart only node which was backup for K
> - load data from local sore, update for K should be restored



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