You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/08 07:51:12 UTC

[GitHub] [pulsar] leizhiyuan opened a new issue, #15973: LookupRequestSemaphore don't release when success

leizhiyuan opened a new issue, #15973:
URL: https://github.com/apache/pulsar/issues/15973

   **Describe the bug**
   A clear and concise description of what the bug is.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Go to '...'
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   **Expected behavior**
   in lookup v2 and v1
   
   ```
       internalLookupTopicAsync(topicName, authoritative, listenerName)
                   .thenAccept(lookupData -> asyncResponse.resume(lookupData))
                   .exceptionally(ex -> {
                       if (log.isDebugEnabled()) {
                           log.debug("Failed to check exist for topic {} when lookup", topicName, ex);
                       }
                       completeLookupResponseExceptionally(asyncResponse, ex);
                       return null;
                   });
   ```
   
   only when exception, getLookupRequestSemaphore().release() when called 
   
   we need release when success.
   
   **Screenshots**
   If applicable, add screenshots to help explain your problem.
   
   **Desktop (please complete the following information):**
    - OS: [e.g. iOS]
   
   **Additional context**
   Add any other context about the problem here.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] Technoboy- closed issue #15973: LookupRequestSemaphore don't release when success

Posted by GitBox <gi...@apache.org>.
Technoboy- closed issue #15973: LookupRequestSemaphore don't release when success
URL: https://github.com/apache/pulsar/issues/15973


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] leizhiyuan commented on issue #15973: LookupRequestSemaphore don't release when success

Posted by GitBox <gi...@apache.org>.
leizhiyuan commented on issue #15973:
URL: https://github.com/apache/pulsar/issues/15973#issuecomment-1149584902

   https://github.com/apache/pulsar/pull/14188/files


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org