Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-7548

Legacy Hot Rod client does not retry operation submitted to a closing channel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RHDG 8.5.3 GA
    • RHDG 8.4.8 GA, RHDG 8.6.0 GA
    • HotRod Java client
    • None

      Describe the bug

      The legacy Hot Rod client does not retry an operation submitted to a channel which is the shutdown process. If the `HeaderDecoder` receives a `ChannelPoolCloseEvent` it will set the `closing` flag. Subsequent requests submitted using the `HeaderDecoder#registerOperation` method will throw an exception and not be retried on other servers.

      Expected behavior

      Instead of failing the operation, it should be retried on another server. The retry would follow the usual retry mechanism, considering the configuration to fail or retry.

      GHI#13648

              rh-ee-jbolina Jose Bolina
              rh-ee-jbolina Jose Bolina
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: