Details
-
Bug
-
Resolution: Works as Designed
-
Major - P3
-
None
-
None
-
None
-
Sharding
-
ALL
Description
sh.status() failed with the following error message. Subsequent calls to sh.status() succeeded.
mongos> sh.status()
|
assert: command failed: {
|
"ok" : 0,
|
"errmsg" : "collection or index disappeared when cursor yielded: CappedPositionLost: CollectionScan died due to position in capped collection being deleted. Last seen record id: RecordId(2503660)",
|
"code" : 16028,
|
"codeName" : "Location16028"
|
} : aggregate failed
|
_getErrorWithCode@src/mongo/shell/utils.js:25:13
|
doassert@src/mongo/shell/assert.js:16:14
|
assert.commandWorked@src/mongo/shell/assert.js:370:5
|
DBCollection.prototype.aggregate@src/mongo/shell/collection.js:1319:5
|
sh.getRecentMigrations@src/mongo/shell/utils_sh.js:580:18
|
printShardingStatus@src/mongo/shell/utils_sh.js:761:26
|
sh.status@src/mongo/shell/utils_sh.js:89:5
|
@(shell):1:1
|
|
|
2016-12-21T13:14:02.179+0000 E QUERY [main] Error: command failed: {
|
"ok" : 0,
|
"errmsg" : "collection or index disappeared when cursor yielded: CappedPositionLost: CollectionScan died due to position in capped collection being deleted. Last seen record id: RecordId(2503660)",
|
"code" : 16028,
|
"codeName" : "Location16028"
|
} : aggregate failed :
|
_getErrorWithCode@src/mongo/shell/utils.js:25:13
|
doassert@src/mongo/shell/assert.js:16:14
|
assert.commandWorked@src/mongo/shell/assert.js:370:5
|
DBCollection.prototype.aggregate@src/mongo/shell/collection.js:1319:5
|
sh.getRecentMigrations@src/mongo/shell/utils_sh.js:580:18
|
printShardingStatus@src/mongo/shell/utils_sh.js:761:26
|
sh.status@src/mongo/shell/utils_sh.js:89:5
|
@(shell):1:1
|