Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Resolved
-
Elixir
-
Untriaged
-
1
-
Unknown
Description
AMI used: couchbase-serverless-server-7.2.0-2170-x86_64
This is on Elixir
- Created a dataplane
- Created 10 tenants (databases)
- Created 1 scope and 1 collection in each tenant
- Loaded 100000 docs in collections of tenant 1
- Created an fts index on tenant 1
{"type": "fulltext-index", "name": "idx", "uuid": "", "params": {"store": {"kvStoreName": "mossStore", "mossStoreOptions": {}}, "mapping": {"default_mapping": {"properties": {}, "dynamic": false, "enabled": false}, "types": {"db_0_scope_433.db_0_collection_236": {"default_analyzer": "standard", "dynamic": true, "enabled": true}}}, "doc_config": {"mode": "scope.collection.type_field", "type_field": "type"}}, "sourceType": "couchbase", "sourceName": "05cf4ba8-968e-497f-93ac-ca75ad01cdb3-5ph1ew", "sourceUUID": "", "planParams": {"numReplicas": 1, "indexPartitions": 1}, "sourceParams": {}}
- After 2 secs, tried to get index status. got below error:
2022-09-30 12:58:04 | ERROR | MainProcess | test_thread | [on_prem_rest_client.urllib_request] b'{"error":"rest_auth: preparePerms, err: index not found","request":"","status":"fail"}\n'
|
2022-09-30 12:58:04 | INFO | MainProcess | test_thread | [fts_base.create] Creating fulltext-index idx on i-0951347cee99a4667.sdk.sandbox.nonprod-project-avengers.com
|
2022-09-30 12:58:04 | INFO | MainProcess | test_thread | [on_prem_rest_client.create_fts_index] {"type": "fulltext-index", "name": "idx", "uuid": "", "params": {"store": {"kvStoreName": "mossStore", "mossStoreOptions": {}}, "mapping": {"default_mapping": {"properties": {}, "dynamic": false, "enabled": false}, "types": {"db_0_scope_433.db_0_collection_236": {"default_analyzer": "standard", "dynamic": true, "enabled": true}}}, "doc_config": {"mode": "scope.collection.type_field", "type_field": "type"}}, "sourceType": "couchbase", "sourceName": "05cf4ba8-968e-497f-93ac-ca75ad01cdb3-5ph1ew", "sourceUUID": "", "planParams": {"numReplicas": 1, "indexPartitions": 1}, "sourceParams": {}}
|
2022-09-30 12:58:04 | INFO | MainProcess | test_thread | [on_prem_rest_client.urllib_request] Making a rest request api=https://i-0951347cee99a4667.sdk.sandbox.nonprod-project-avengers.com:18094/api/index/idx verb=PUT params={"type": "fulltext-index", "name": "idx", "uuid": "", "params": {"store": {"kvStoreName": "mossStore", "mossStoreOptions": {}}, "mapping": {"default_mapping": {"properties": {}, "dynamic": false, "enabled": false}, "types": {"db_0_scope_433.db_0_collection_236": {"default_analyzer": "standard", "dynamic": true, "enabled": true}}}, "doc_config": {"mode": "scope.collection.type_field", "type_field": "type"}}, "sourceType": "couchbase", "sourceName": "05cf4ba8-968e-497f-93ac-ca75ad01cdb3-5ph1ew", "sourceUUID": "", "planParams": {"numReplicas": 1, "indexPartitions": 1}, "sourceParams": {}} client_cert=None verify=False
|
2022-09-30 12:58:05 | INFO | MainProcess | test_thread | [on_prem_rest_client.create_fts_index] Index idx created
|
2022-09-30 12:58:07 | INFO | MainProcess | test_thread | [on_prem_rest_client.urllib_request] Making a rest request api=https://i-0951347cee99a4667.sdk.sandbox.nonprod-project-avengers.com:18094/api/index/05cf4ba8-968e-497f-93ac-ca75ad01cdb3-5ph1ew.db_0_scope_433.idx verb=GET params= client_cert=None verify=False
|
2022-09-30 12:58:07 | ERROR | MainProcess | test_thread | [on_prem_rest_client.urllib_request] b'{"error":"limting/throttling: the request has been rejected according to regulator, msg:\\u003cnil\\u003e","request":"","status":"fail"}\n'
|
Server Logs:
https://cb-jira.s3.us-east-2.amazonaws.com/logs/test/collectinfo-2022-09-30T201538-ns_1%400xjsn4tsd-onm9fu.9hrnwe4r5j4oeelr.sandbox.nonprod-project-avengers.com.zip
https://cb-jira.s3.us-east-2.amazonaws.com/logs/test/collectinfo-2022-09-30T201538-ns_1%40ciirerzkifzx6khp.9hrnwe4r5j4oeelr.sandbox.nonprod-project-avengers.com.zip
https://cb-jira.s3.us-east-2.amazonaws.com/logs/test/collectinfo-2022-09-30T201538-ns_1%40igaudrojt35xfnr.9hrnwe4r5j4oeelr.sandbox.nonprod-project-avengers.com.zip
[FTS] https://cb-jira.s3.us-east-2.amazonaws.com/logs/test/collectinfo-2022-09-30T201538-ns_1%40l6e4es1yxvj8inen.9hrnwe4r5j4oeelr.sandbox.nonprod-project-avengers.com.zip
[FTS] https://cb-jira.s3.us-east-2.amazonaws.com/logs/test/collectinfo-2022-09-30T201538-ns_1%40nugejikjqbe319c9.9hrnwe4r5j4oeelr.sandbox.nonprod-project-avengers.com.zip
https://cb-jira.s3.us-east-2.amazonaws.com/logs/test/collectinfo-2022-09-30T201538-ns_1%40qe7yu9kfw9cm1h1z.9hrnwe4r5j4oeelr.sandbox.nonprod-project-avengers.com.zip
https://cb-jira.s3.us-east-2.amazonaws.com/logs/test/collectinfo-2022-09-30T201538-ns_1%40srrhispdpgeg0yt.9hrnwe4r5j4oeelr.sandbox.nonprod-project-avengers.com.zip
https://cb-jira.s3.us-east-2.amazonaws.com/logs/test/collectinfo-2022-09-30T201538-ns_1%40ue3ptexrljjmrw6h.9hrnwe4r5j4oeelr.sandbox.nonprod-project-avengers.com.zip
https://cb-jira.s3.us-east-2.amazonaws.com/logs/test/collectinfo-2022-09-30T201538-ns_1%40uyhnng8zolmqgzlf.9hrnwe4r5j4oeelr.sandbox.nonprod-project-avengers.com.zip
Girish Benakappa, This looks something similar to what sarthak had filed the other day
From the logs I see the index create request for idx is successful,
...
...
...
and that the throttling and limiting stats for the index idx matches the bucket on which it was created "05cf4ba8-968e-497f-93ac-ca75ad01cdb3-5ph1ew". another thing is that, that is the only bucket that has throttling and limting going on by the nsstats endpoint output in the logs, so it doesnt look likely that there is a cross-tenant throttling going on over here.
The following entry is there only for one bucket:
},
Another thing is that, I'm not sure about the exact reason for the rejection of the request happening, my guess is that there is a burst of data thats coming in from the dcp during the initial part of the streaming from the bucket, which affected the immediate next request (I will keep looking into the cause of it by talking to abhinav and michael). However the fail is happening on a GET request from what I gather, which we shouldn't do since its just a index definition fetch. I've already merged the PR for it, its there in 2185 build, so can you please let me know if its still there in 2185?