Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-6974

Proxy returns ResultCode=0 when psearch ends

    Details

    • Type: Bug
    • Status: Dev backlog
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0
    • Fix Version/s: None
    • Component/s: proxy
    • Labels:
      None

      Description

      In pyforge test proxy_psearch_failover it appears that the proxy is now returning SUCCESS (0) for the persistent search once this one is ended because the DS where it has been routed is shut-down.

      It's still not clear whether this SUCCESS (0) is initiated by DS or by the Proxy.

      From a first investigation it seems that DS, when shutdown, should send an UNAVAILABLE (52) on all active psearch. Still, it seems that, until now, a CLIENT_SIDE_SERVER_DOWN (81) was erroneously expected.

      See discussion: https://forgerock.slack.com/archives/G9KJUBHLY/p1582101859077000?thread_ts=1582037172.072600&cid=G9KJUBHLY

      Acceptance criteria: 

      • DS returns 52 UNAVAILABLE to psearches which are active at the time of the shutdown
      • Proxy forwards this 52 UNAVAILABLE up to the end client.
      • The proxy_psearch_failover test is modified to expect¬†(52) UNAVAILABLE

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ylecaillez Yannick Lecaillez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: