[DOCS-437] Document "couldn't query the local local.oplog.rs" error Created: 23/Aug/12  Updated: 26/Sep/12  Resolved: 18/Sep/12

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kristina Chodorow (Inactive) Assignee: Bob Grabar
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 11 years, 22 weeks ago

 Description   

If the following line is "bad replSet oplog entry?" then that error probably means that the ts field in the last oplog entry is the wrong type.

It can be checked with:

> db.oplog.rs.find({ts:{$type:17}}).({$natural:-1}).limit(1)
> // should return the same thing:
> db.oplog.rs.find().({$natural:-1}).limit(1)

Can be fixed with:

> db.oplog.rs.update({ts:{t:1234567891000,i:1234}}, {$set:{ts:new Timestamp(1234567891000, 1234)}})



 Comments   
Comment by auto [ 19/Sep/12 ]

Author:

{u'date': u'2012-09-19T13:14:43-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: minor: edits for DOCS-437
Branch: master
https://github.com/mongodb/docs/commit/4ba8a9e423517ac262de195ea0d2bb51f4ccb45e

Comment by auto [ 19/Sep/12 ]

Author:

{u'date': u'2012-09-19T12:50:58-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: merge: DOCS-437
Branch: master
https://github.com/mongodb/docs/commit/725c2b6090fc7b7971e6f5187faf926b7119b310

Comment by auto [ 19/Sep/12 ]

Author:

{u'date': u'2012-09-19T10:51:12-07:00', u'email': u'bob.grabar@10gen.com', u'name': u'Bob Grabar'}

Message: DOCS-437 troubleshooting an oplog error: final edits
Branch: master
https://github.com/mongodb/docs/commit/d4771f9b4326baee723a6201ad81d8f083ef7e8c

Comment by auto [ 19/Sep/12 ]

Author:

{u'date': u'2012-09-19T07:05:40-07:00', u'email': u'bob.grabar@10gen.com', u'name': u'Bob Grabar'}

Message: DOCS-437 edit to the error message
Branch: master
https://github.com/mongodb/docs/commit/aaee068078c81ae80d9adddea9de1f717a0b9166

Comment by auto [ 19/Sep/12 ]

Author:

{u'date': u'2012-09-18T10:49:14-07:00', u'email': u'bob.grabar@10gen.com', u'name': u'Bob Grabar'}

Message: DOCS-437 troubleshooting an oplog error
Branch: master
https://github.com/mongodb/docs/commit/30980cc17d38725221e917fd8ae1c9501d5468a4

Comment by auto [ 19/Sep/12 ]

Author:

{u'date': u'2012-09-17T09:05:35-07:00', u'email': u'bob.grabar@10gen.com', u'name': u'Bob Grabar'}

Message: DOCS-437 added oplog error to rs troubleshooting
Branch: master
https://github.com/mongodb/docs/commit/861b3f4d04aeb6c7d3d3247fb499c37177f9b6fb

Comment by Bob Grabar [ 18/Sep/12 ]

Don't merge until Kristina reviews:

https://github.com/mongodb/docs/pull/246

Generated at Thu Feb 08 07:38:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.