Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11214

IgniteCacheAtomicPutAllFailoverSelfTest fails with "Cannot find cache"

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Component/s: None

      Description

      In the test local node does not have a cache started, but calls affinity.map... which causes the node to fetch affinity from the cluster. Due to a race the local node may observe readyAffinityVer == AffinityTopologyVersion(1,0) which is fine, but it requests the affinity using this topology version, which results in a missed affinity exception.

      Suggested solution is to use max(readyAffinityVersion, discovery.topologyVersionEx) when fetching affinity from remote nodes (a node does not have the cache context started).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                agoncharuk Alexey Goncharuk
                Reporter:
                agoncharuk Alexey Goncharuk
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m