Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.6.2
-
Couchbase server Enterprise 7.6.2-3596
-
Untriaged
-
-
0
-
No
Description
While running FTS queries, the queries were getting rejected due to high memory pressure.
Ideally the status code returned should be ' STATUS CODE 429' but while debugging its found that the code returned is 'STATUS CODE 200'.
Test details :
conf:
fts.vector_moving_topology_fts.VectorSearchMovingTopFTS: rebalance_in_between_indexing_and_querying,items=30000,default_bucket=False,standard_buckets=1,index_per_bucket=2,index_per_vector_bucket=1,GROUP=P0,num_partitions=24 |
subcomponent:
moving-topology-scorch_vector_siftsmall_7.6_P0
|
Test Logs:
2024-05-13 02:37:35 | INFO | MainProcess | test_thread | [fts_base.run_fts_query] Running query {"indexName": "vector_vector-bucket-0_index_0", "size": 10000000, "from": 0, "explain": true, "query": {"match_none": {}}, "fields": ["*"], "ctl": {"consistency": {"level": "", "vectors": {}}, "timeout": 60000}, "knn": [{"field": "vector_data", "k": 100, "vector": [1.0, 3.0, 11.0, 110.0, 62.0, 22.0, 4.0, 0.0, 43.0, 21.0, 22.0, 18.0, 6.0, 28.0, 64.0, 9.0, 11.0, 1.0, 0.0, 0.0, 1.0, 40.0, 101.0, 21.0, 20.0, 2.0, 4.0, 2.0, 2.0, 9.0, 18.0, 35.0, 1.0, 1.0, 7.0, 25.0, 108.0, 116.0, 63.0, 2.0, 0.0, 0.0, 11.0, 74.0, 40.0, 101.0, 116.0, 3.0, 33.0, 1.0, 1.0, 11.0, 14.0, 18.0, 116.0, 116.0, 68.0, 12.0, 5.0, 4.0, 2.0, 2.0, 9.0, 102.0, 17.0, 3.0, 10.0, 18.0, 8.0, 15.0, 67.0, 63.0, 15.0, 0.0, 14.0, 116.0, 80.0, 0.0, 2.0, 22.0, 96.0, 37.0, 28.0, 88.0, 43.0, 1.0, 4.0, 18.0, 116.0, 51.0, 5.0, 11.0, 32.0, 14.0, 8.0, 23.0, 44.0, 17.0, 12.0, 9.0, 0.0, 0.0, 19.0, 37.0, 85.0, 18.0, 16.0, 104.0, 22.0, 6.0, 2.0, 26.0, 12.0, 58.0, 67.0, 82.0, 25.0, 12.0, 2.0, 2.0, 25.0, 18.0, 8.0, 2.0, 19.0, 42.0, 48.0, 11.0]}]} on node as 172.23.218.120 : Administrator: |
2024-05-13 02:37:35 | INFO | MainProcess | test_thread | [on_prem_rest_client.urllib_request] Making a rest request api=http://172.23.218.120:8094/api/index/vector_vector-bucket-0_index_0/query verb=POST params=b'{"indexName": "vector_vector-bucket-0_index_0", "size": 10000000, "from": 0, "explain": true, "query": {"match_none": {}}, "fields": ["*"], "ctl": {"consistency": {"level": "", "vectors": {}}, "timeout": 60000}, "knn": [{"field": "vector_data", "k": 100, "vector": [1.0, 3.0, 11.0, 110.0, 62.0, 22.0, 4.0, 0.0, 43.0, 21.0, 22.0, 18.0, 6.0, 28.0, 64.0, 9.0, 11.0, 1.0, 0.0, 0.0, 1.0, 40.0, 101.0, 21.0, 20.0, 2.0, 4.0, 2.0, 2.0, 9.0, 18.0, 35.0, 1.0, 1.0, 7.0, 25.0, 108.0, 116.0, 63.0, 2.0, 0.0, 0.0, 11.0, 74.0, 40.0, 101.0, 116.0, 3.0, 33.0, 1.0, 1.0, 11.0, 14.0, 18.0, 116.0, 116.0, 68.0, 12.0, 5.0, 4.0, 2.0, 2.0, 9.0, 102.0, 17.0, 3.0, 10.0, 18.0, 8.0, 15.0, 67.0, 63.0, 15.0, 0.0, 14.0, 116.0, 80.0, 0.0, 2.0, 22.0, 96.0, 37.0, 28.0, 88.0, 43.0, 1.0, 4.0, 18.0, 116.0, 51.0, 5.0, 11.0, 32.0, 14.0, 8.0, 23.0, 44.0, 17.0, 12.0, 9.0, 0.0, 0.0, 19.0, 37.0, 85.0, 18.0, 16.0, 104.0, 22.0, 6.0, 2.0, 26.0, 12.0, 58.0, 67.0, 82.0, 25.0, 12.0, 2.0, 2.0, 25.0, 18.0, 8.0, 2.0, 19.0, 42.0, 48.0, 11.0]}]}' client_cert=None verify=False |
|
|
DEBUG :header : <Response [200]> |
|
DEBUG :status : True
|
|
2024-05-13 02:37:35 | INFO | MainProcess | test_thread | [vector_moving_topology_fts.run_vector_queries_and_report] FTS Hits for Search query: 0 |
|
|
DEBUG :: status code in vec_mov_top_fts.py : {'total': 24, 'failed': 24, 'successful': 0, 'errors': {'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_005e447f': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_022867fc': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_0d0cf575': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_153b1600': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_1b4a2292': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_273cca8a': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_2a9e2b6e': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_3317e91a': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_34b8fc3d': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_3b53fc05': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_3bea20c9': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_5939b7a8': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_59c2e1f1': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_72d6ff36': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_7732359f': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_79f8fecc': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_a277fed6': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_ad475698': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_af38b26b': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_bd94d8ae': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_c3fd8216': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_c9b2b2e9': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_fcf140a2': 'query request rejected', 'vector_vector-bucket-0_index_0_80bf4e801b0fa3e5_ff2b8daa': 'query request rejected'}} |
|
|
DEBUG : matches : None
|
Test Logs: http://qa.sc.couchbase.com/job/test_suite_executor/709212/console
Attachments
Issue Links
- relates to
-
MB-61956 [2] Wrong status code (500) for rejected queries
-
- Closed
-
For Gerrit Dashboard: MB-61858 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
210710,6 | MB-61858: fix http status for query throttle case | trinity | cbft | Status: MERGED | +2 | +1 |
211290,1 | Merge remote-tracking branch 'couchbase/trinity' | master | cbft | Status: MERGED | +2 | +1 |