-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Wire Protocol
-
None
-
Fully Compatible
Atlas Data Lake doesn't use traditional namespaces when returning cursor results. For example, a find or aggregate command on the "test.foo" namespace will not have the "test.foo" in the resulting "ns" field of the result. As such, the driver is failing to issue getMore requests because it uses the incorrect namespace.
It appears that ListIndexes does this properly: https://github.com/mongodb/mongo-csharp-driver/blob/7cd604ab4fee1c3a02fd56e7b3f99215055785f4/src/MongoDB.Driver.Core/Core/Operations/ListIndexesUsingCommandOperation.cs#L169
The others 2 places I found were Find and Aggregate which seem like they just need to be updated:
https://github.com/mongodb/mongo-csharp-driver/blob/4bd195c198397a9ef4ca0f90a84652fdadfea216/src/MongoDB.Driver.Core/Core/Operations/AggregateOperation.cs#L403
https://github.com/mongodb/mongo-csharp-driver/blob/7a2af91bb400ca23e2ec8cd0d14accc7b14908fa/src/MongoDB.Driver.Core/Core/Operations/FindCommandOperation.cs#L490
- is related to
-
RUBY-2211 Use namespace returned from find command in getMore
- Closed
- related to
-
PYTHON-2182 Cursor namespace is ignored
- Closed
- links to