Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2531

is returning WaitQueueTimeoutError always correct when context is done?

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.11.0
    • Affects Version/s: 1.9.1
    • Component/s: Error Handling
    • None

      when checkOut returns error, i wish there is a error message fit for context canceled. 

      whether context is canceled or context deadline exceeded, `checkOut` fuction  always returns `WaitQueueTimeoutError`. when deadline exceeded, returning `WaitQueueTimeoutError` is correct. but when context is canceled, returning a error message with waiting and canceled message makes more clear than timed out error message. 

            Assignee:
            qingyang.hu@mongodb.com Qingyang Hu
            Reporter:
            jwalag87@gmail.com Hyeonho Kim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: