Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-4100

When an unresponsive client with CQs registered gets disconnected, the onCqDisconnected callback is not invoked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • client queues, cq
    • None

    Description

      Neither is the onCqConnected callback invoked when the client reconnects.

      QueueManagerImpl.recoverPrimary attempts to invoke the onCqConnected callback (by cqsConnected), but it is short-circuited by this check in CqServiceImpl invokeCqsConnected:

      if (cqPoolsConnected.containsKey(poolName) && connected == cqPoolsConnected.get(poolName)) {
        return;
      }
      

      That check basically means the previous time this method was called, it was called with connected==true, so this call to invokeCqsConnected will succeed once QueueManagerImpl calls cqsDisconnected at the appropriate spot after the client is disconnected.

      Attachments

        Activity

          People

            Unassigned Unassigned
            boglesby Barrett Oglesby
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: