-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Go Drivers
Detailed steps to reproduce the problem?
I have mongo:latest running in a container with podman.
The container is seeded with data from production using mongodump and mongorestore.
I am using Go with driver version v1.15.0.
When trying to query the largest collection in the database, about 200,000 documents, cursor.next() hangs on line 179:
if !c.bc.Next(ctx) {
It looks like this happens after c.batchLength reaches a count of 1.
Definition of done: what must be done to consider the task complete?
The exact Go version used, with patch level:
$ go version
go version go1.22.2 linux/amd64
The exact version of the Go driver used:
$ go list -m go.mongodb.org/mongo-driver
go.mongodb.org/mongo-driver v1.15.0
Describe how MongoDB is set up. Local vs Hosted, version, topology, load balanced, etc.
Local in a Podman container.
root@eti:/# mongod --version
db version v7.0.8
Build Info: {
"version": "7.0.8",
"gitVersion": "c5d33e55ba38d98e2f48765ec4e55338d67a4a64",
"openSSLVersion": "OpenSSL 3.0.2 15 Mar 2022",
"modules": [],
"allocator": "tcmalloc",
"environment":
}
The operating system and version (e.g. Windows 7, OSX 10.8, ...)
Linux 6.8.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 17 Apr 2024 15:20:28 +0000 x86_64 GNU/Linux
Security Vulnerabilities
If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions here