Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Duplicate
-
3.6.1
-
None
-
None
-
ubuntu@ip-10-0-0-192:~$ cat /etc/issue
Ubuntu 14.04.4 LTS \n \l
ubuntu@ip-10-0-0-192:~$ java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
Description
We tail the oplog for some of our operations. After an upgrade today from 3.4.1 => 3.6.1 our oplog tailer is failing with the following stacktrace:
com.mongodb.MongoQueryException: Query failed with error code 175 and error message 'PlanExecutor killed: CappedPositionLost: CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(6505472699941257226)' on server ip-10-0-0-131:27017
at com.mongodb.operation.QueryHelper.translateCommandException(QueryHelper.java:31)
at com.mongodb.operation.QueryBatchCursor.getMore(QueryBatchCursor.java:215)
at com.mongodb.operation.QueryBatchCursor.hasNext(QueryBatchCursor.java:103)
at com.mongodb.MongoBatchCursorAdapter.hasNext(MongoBatchCursorAdapter.java:46)
at com.mongodb.DBCursor.hasNext(DBCursor.java:155)
at com.mongodb.casbah.MongoCursorBase$class.hasNext(MongoCursor.scala:73)
at com.mongodb.casbah.MongoCursor.hasNext(MongoCursor.scala:487)
Not finding a lot of info about this out there after searching. Please advise? We have also tried 3.6.1 driver but same result. What changed and how can we work around this?
Attachments
Issue Links
- duplicates
-
SERVER-32606 Tailing oplog on secondary fails with CappedPositionLost
-
- Closed
-