ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Kulichenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-6575) IgniteCache#get can return stale value when executed on backup
Date Fri, 06 Oct 2017 21:55:02 GMT

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

Valentin Kulichenko updated IGNITE-6575:
    Issue Type: Improvement  (was: Bug)

> IgniteCache#get can return stale value when executed on backup
> --------------------------------------------------------------
>                 Key: IGNITE-6575
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6575
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache
>    Affects Versions: 2.2
>            Reporter: Valentin Kulichenko
> If write sync mode is {{PRIMARY_SYNC}} and {{readFromBackup=true}} (both values are defaults),
calling {{get}} right after {{put}} for the same key in the same thread can return stale value.
This happens because even local backup is updated asynchronously.
> This is very confusing behavior for a user, would be good to make sure to update local
backup synchronously even in {{PRIMARY_SYNC}} mode.
> More details here: http://apache-ignite-developers.2346864.n4.nabble.com/PRIMARY-SYNC-readFromBackup-semantics-td22900.html

This message was sent by Atlassian JIRA

View raw message