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}>
|