Hi Guys,
Looks like many are familiar with this error but i am having a tough time finding an answer for this .I see this error popping up in my mongolog everytime .
Can some one let me know if i need to resize my oplog ?
error:
Failed: error reading collection: GetMore
command executor error: CappedPositionLost: CollectionScan died due to position
in capped collection being deleted. Last seen record id:
RecordId(6549306977250444010)
:PRIMARY> show databases
admin
0.000GB
local
14.779GB
pricealerts 369.395GB
test
0.000GB
If I do this :
:PRIMARY> db.getReplicationInfo();
{
"logSizeMB" : 51200,
"usedMB" : 51490.96,
"timeDiff" : 109013,
"timeDiffHours" : 30.28,
"tFirst" : "Sat Apr 28 2018 19:53:07 GMT-0700
(PDT)",
"tLast" : "Mon Apr 30 2018
02:10:00 GMT-0700 (PDT)",
"now" : "Mon Apr
30 2018 11:45:35 GMT-0700 (PDT)"
}
Thanks,
Ravi