-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
v6.0
-
QE 2022-03-07, QE 2022-03-21
-
27
There's a couple confusing things about this test/its history. Major highlights of the current behavior:
- On the classic jscore variant, this test succeeds without large windows of waiting
- Presumably changing this getmore into a readConcern: majority (as per what the suite does) with the same 1 hour timeout results in a 10 minute wait (cursor timeout?) before successfully returning.
It's unclear to me if the test is really passing. Certainly, it's not expected for the test to be waiting for 10 minutes before passing.
I accidentally let the test run to completion with debugging that exposes the contents of the returned batch. The one expected document exists:
[js_test:awaitdata_getmore_cmd] [jsTest] { [js_test:awaitdata_getmore_cmd] [jsTest] "DBG. CmdRes" : { [js_test:awaitdata_getmore_cmd] [jsTest] "cursor" : { [js_test:awaitdata_getmore_cmd] [jsTest] "nextBatch" : [ [js_test:awaitdata_getmore_cmd] [jsTest] { [js_test:awaitdata_getmore_cmd] [jsTest] "_id" : "match", [js_test:awaitdata_getmore_cmd] [jsTest] "x" : 1 [js_test:awaitdata_getmore_cmd] [jsTest] } [js_test:awaitdata_getmore_cmd] [jsTest] ], [js_test:awaitdata_getmore_cmd] [jsTest] "id" : NumberLong("665283733450521987"), [js_test:awaitdata_getmore_cmd] [jsTest] "ns" : "test.await_data" [js_test:awaitdata_getmore_cmd] [jsTest] }, [js_test:awaitdata_getmore_cmd] [jsTest] "ok" : 1, [js_test:awaitdata_getmore_cmd] [jsTest] "$clusterTime" : { [js_test:awaitdata_getmore_cmd] [jsTest] "clusterTime" : Timestamp(1643225913, 1), [js_test:awaitdata_getmore_cmd] [jsTest] "signature" : { [js_test:awaitdata_getmore_cmd] [jsTest] "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), [js_test:awaitdata_getmore_cmd] [jsTest] "keyId" : NumberLong(0) [js_test:awaitdata_getmore_cmd] [jsTest] } [js_test:awaitdata_getmore_cmd] [jsTest] }, [js_test:awaitdata_getmore_cmd] [jsTest] "operationTime" : Timestamp(1643225913, 1) [js_test:awaitdata_getmore_cmd] [jsTest] } [js_test:awaitdata_getmore_cmd] [jsTest] }
- related to
-
SERVER-66540 Don't run awaitData cursor notification on insert part in await_getmore_cmd.js in majority readConcern
- Closed