-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
ALL
When testing db.runCommand( {"listSearchIndexes": <collection>, "name":<indexName>}) using mongosh, we got flaky result with error BSONError: bad embedded document length in bson
We used mongosh version 2.0.2, mongodb version 6.0.13 with 2 shards and 3 mongod nodes both with and without dedicated search nodes.
Our e2e test also suggests flaky results on version 6.0 and here is the error log for e2e tests.
Note: We don't see this error on un-sharded clusters