Mongo CursorNotFound exception in active cursor via Grails domain criteria
问题 I'm using Grails 2.4.4, mongo plugin 3.0.2, MongoDB 2.4.10 using a remote database connection. grails { mongo { host = "11.12.13.14" // A remote server IP port = 27017 databaseName = "blogger" username = "blog" password = "xyz" options { autoConnectRetry = true connectTimeout = 3000 connectionsPerHost = 40 socketTimeout = 120000 threadsAllowedToBlockForConnectionMultiplier = 5 maxAutoConnectRetryTime=5 maxWaitTime=120000 } } } In a part of our application, a service method iterates over a 20