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

Sync dispatcher castMessage does not awake blocked thread on ACK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.9, 3.3
    • 3.3
    • None
    • Workaround Exists
    • Hide

      Define a RspFilter

      Show
      Define a RspFilter

      On version 3.3.0.CR1 we observed that the following code:

      final RequestOptions options = RequestOptions.SYNC();
      dispatcher.castMessage( null, message, options );
      

      will always block until the timeout defined in RequestOptions, even if the remote operation is very quick in responding.

      We could workaround the issue by setting a custom RspFilter, but this filter is otherwise not needed.

        1. bla.java
          1 kB
          Bela Ban
        2. filtered.log.bz2
          103 kB
          Sanne Grinovero

              rhn-engineering-bban Bela Ban
              sgrinove Sanne Grinovero (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: