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

Sync dispatcher castMessage does not awake blocked thread on ACK

    XMLWordPrintable

Details

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

      Define a RspFilter

      Show
      Define a RspFilter

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: