Details
-
Bug
-
Resolution: Cannot Reproduce
-
Critical
-
None
-
7.2.0, 7.2.1, 7.2.4, 7.2.2, 7.2.3, 7.2.5
-
Couchbase Enterprise Edition 7.2.5-7514
Operating System : Microsoft Windows Server 2019
-
Untriaged
-
Windows 64-bit
-
-
0
-
Unknown
Description
A lot of tests in Windows show failure when attempting to create or delete collections.
This behaviour is observed only in 7.2 runs from 7.2.0 to 7.2.5 and not in Trinity.
Unfortunately, was unable to collect the logs during all the runs due to the failure seen in teardown of the tests.
There are no specific set of steps needed to reproduce the issue. A lot of times the create and delete collection POST and DELETE calls return a 500 status code with "Internal Server Error"
I have attached logs from a test run that involves multiple creates and deletes of collections.
Observing these from ns_server.debug.logs
[ns_server:error,2024-01-11T19:37:55.787-08:00,ns_1@172.23.136.143:<0.28513.1>:menelaus_util:reply_server_error_before_close:211]Server error during processing: ["web request failed", {path, "/pools/default/buckets/bucket-18/scopes/_default/collections/collection-1"}, {method,'DELETE'}, {type,exit}, {what, {timeout, {gen_server,call, [ns_audit, {log,drop_collection, [{local, {[{ip,<<"172.23.136.143">>}, {port,8091}]}}, {remote, {[{ip,<<"172.23.107.249">>}, {port,37834}]}}, {real_userid, {[{domain,builtin}, {user,<<"Administrator">>}]}}, {timestamp, <<"2024-01-11T19:37:50.773-08:00">>}, {new_manifest_uid,<<"5">>}, {collection_name,<<"collection-1">>}, {scope_name,<<"_default">>}, {bucket_name,<<"bucket-18">>}], false}]}}}, {trace, [{gen_server,call,2, [{file,"gen_server.erl"},{line,370}]}, {ns_audit,put,3, [{file,"src/ns_audit.erl"},{line,462}]}, {menelaus_web_collections, handle_delete_collection,4, [{file,"src/menelaus_web_collections.erl"}, {line,251}]}, {request_tracker,request,2, [{file,"src/request_tracker.erl"}, {line,40}]}, {menelaus_util,handle_request,2, [{file,"src/menelaus_util.erl"}, {line,222}]}, {mochiweb_http,headers,6, [{file, "c:/Jenkins/workspace/couchbase-server-windows/couchdb/src/mochiweb/mochiweb_http.erl"}, {line,153}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,240}]}]}] |
Grepping for 500 errors in the ns_server.http_access.log
$grep "500 44" ns_server.http_access.log |
172.23.107.249 - - [11/Jan/2024:18:44:16 -0800] "POST /pools/default/buckets/bucket-8/scopes/xLO-11-605000/collections/ HTTP/1.1" 500 44 - "Python-httplib2/$Rev: 259 $" 5062 |
172.23.107.249 - - [11/Jan/2024:18:44:24 -0800] "DELETE /pools/default/buckets/bucket-8/scopes/xLO-11-605000/collections/atL%25jIVfd2WL%25jtRI5HIQm9qIlCiEi72S0VOsHyor1PlbLyfiJv4z1mu-MI1owVE8tnkRdp0qa9Ksjpa%25XoFNLOJP5qr4jvEmYqb3Vc8i%25LMiMRXkcMkfWY5ddNEIhhHEPnJ1HXm98GmWg5uwXEjMQ5UnczwpRAiqlSIgHMgO6iImXItR5-16H0wJdK89UC0UEoj2m7Vlf_ETmZgi2cQj0r0t%25ga9y-11-725000 HTTP/1.1" 500 44 - "Python-httplib2/$Rev: 259 $" 5059 |
172.23.107.249 - - [11/Jan/2024:19:37:55 -0800] "DELETE /pools/default/buckets/bucket-18/scopes/_default/collections/collection-1 HTTP/1.1" 500 44 - "Python-httplib2/$Rev: 259 $" 5062 |
Attachments
Issue Links
- is duplicated by
-
MB-60333 [Rebalance][Windows] : Rebalance exited with reason {pre_rebalance_janitor_run_failed,"default",{error,wait_for_memcached_failed
- Closed
-
MB-60335 [Rebalance][Windows] : Rebalance stopped by janitor
- Closed
- relates to
-
MB-61416 [Windows] : Couchbase server goes down post rebalance-out of a node
- Closed