ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Semen Boikov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-2864) Need update local store from primary and backups
Date Thu, 07 Apr 2016 13:13:25 GMT

    [ 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

View raw message