Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1267

UNICAST2: incorrect delivery order

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.11.1, 2.12
    • None
    • None
    • Hide

      UNICAST2_StressTest: annotate stressTest with @Test(invocationCount=20). Ca 10% of all runs fail.

      Show
      UNICAST2_StressTest: annotate stressTest with @Test(invocationCount=20). Ca 10% of all runs fail.

      Under stress, UNICAST2 can deliver messages in incorrect order. The reason is that in UNICAST2.handleDataReceived() 'processing' is set to false in the finally clause, no matter what. This can cause multiple threads to concurrently deliver messages for the same destination.

      SOLUTION: copy the code from NAKACK.handleMessage(), which does not set 'processing' to false in finally

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: