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

Sync dispatcher castMessage does not awake blocked thread on ACK

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.3
    • Fix Version/s: 3.2.9, 3.3
    • Labels:
      None
    • Workaround Description:
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  belaban Bela Ban
                  Reporter:
                  sannegrinovero Sanne Grinovero
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: