Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13616

Stream pipeline blocks if filterKeys() gets an empty set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 13.0.7.Final, 14.0.0.Dev02
    • 13.0.5.Final, 14.0.0.Dev01
    • Core
    • None

    Description

      When the set used for filtering via filterKeys(set) happens to be empty on a DistributedCacheStream, then the pipeline makes no progress and blocks the calling thread.

      This "edge-case" should be normally handled by returning an empty/default/null value (whatever the pipeline defines).

      The pull request contains a unit-test that proofs the point and should prevent a future regression.

      Attachments

        Activity

          People

            wburns@redhat.com Will Burns
            heli80 Helmut Jelinek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: