Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4444

After state transfer, a node is able to read keys it no longer owns from its data container

    Details

      Description

      When state transfer ends and each node receives a CH_UPDATE command from the coordinator, it first installs the new topology and then it starts invalidating entries it no longer owns.

      However, there are two cases when the node can still read its stale values:
      1. If L1 is enabled, it will look in the local DataContainer first, regardless of the key's location.
      2. If L1 is disabled, but the key was removed on the new owners, the node will still look up the key in the local DataContainer after receiving a null response.

      The problem can be reproduced with TxReadAfterLosingOwnershipTest and its subclasses, by replacing the operation.update(cache(1)); line with operation.update(cache(0));

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pruivo Pedro Ruivo
                  Reporter:
                  dan.berindei Dan Berindei
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: