Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1218

Rate limit errors are not handled for cluster manager operations other than collections manager

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.4
    • 3.2.5
    • library
    • None
    • 1

    Description

      Buckets, users and views managers should also handle the rate limit errors. Currently an http exception is raised. For example, trying to create multiple buckets concurrently

      couchbase.exceptions.HTTPException: <Key='/pools/default/buckets', RC=0x41D[LCB_ERR_HTTP (1053)], HTTP Request failed. Examine 'objextra' for full result, Results=1, C Source=(src/pycbc_http.c,203), OBJ=HttpResult<rc=0x0, value=b'Limit(s) exceeded [num_concurrent_requests]', http_status=429, url=/pools/default/buckets, tracing_context=0, tracing_output=None>, Context={'response_code': 429, 'path': '/pools/default/buckets', 'response_body': 'Limit(s) exceeded [num_concurrent_requests]', 'endpoint': '10.112.220.101:8091', 'type': 'HTTPErrorContext'}, Tracing Output={":nokey:0": null}>
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          jared.casey Jared Casey added a comment -

          Added handling HTTPException for rate limit in Bucket and User and Views management APIs.

          jared.casey Jared Casey added a comment - Added handling HTTPException for rate limit in Bucket and User and Views management APIs.

          People

            jared.casey Jared Casey
            jake.rawsthorne Jake Rawsthorne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty