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

Incorrect rehashing on merge

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.2.1.FINAL, 5.0.0.BETA1
    • 4.2.1.CR1
    • Core
    • None
    • Hide

      I used the GUI demo to reproduce this (version=4.2.1.CR1)

      #1 Add <DISCARD use_gui="true"/> between UDP and PING in etc/jgroups-udp.xml
      #2 ./runDemo.sh for the first node
      #3 ./runDemo.sh for the second node
      #4 Start the first cache
      #5 In the dialog box that pops up, press "start discarding"
      #6 Start the second cache
      #7 Add data to the first and second caches (numOwners=2 by default)
      #8 Observe that the data is not distributed. This is correct, as we have a (simulated) network partition
      #9 Press "stop discarding" in the first dialog box
      #10 After some seconds (between 10-30 in jgroups-udp.xml), the node merge
      #11 However, only some of the data has been copied to the other node. With 2 nodes and numOwners=2, all the keys should be present on both nodes !

      Show
      I used the GUI demo to reproduce this (version=4.2.1.CR1) #1 Add <DISCARD use_gui="true"/> between UDP and PING in etc/jgroups-udp.xml #2 ./runDemo.sh for the first node #3 ./runDemo.sh for the second node #4 Start the first cache #5 In the dialog box that pops up, press "start discarding" #6 Start the second cache #7 Add data to the first and second caches (numOwners=2 by default) #8 Observe that the data is not distributed. This is correct, as we have a (simulated) network partition #9 Press "stop discarding" in the first dialog box #10 After some seconds (between 10-30 in jgroups-udp.xml), the node merge #11 However, only some of the data has been copied to the other node. With 2 nodes and numOwners=2, all the keys should be present on both nodes !

      When I simulate a network partition and subsequent merge, data added to the different nodes during the partition are only partially rehashed correctly.

            manik_jira Manik Surtani (Inactive)
            rhn-engineering-bban Bela Ban
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: