ignite-dev mailing list archives

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

             Summary: 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: Bug
          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
(v6.4.14#64029)

Mime
View raw message