[DOCS-48] We should have a script for manually applying rollback data Created: 25/Aug/11  Updated: 02/Oct/12  Resolved: 02/Oct/12

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

Type: Bug Priority: Minor - P4
Reporter: Kristina Chodorow (Inactive) Assignee: Tyler Brock
Resolution: Done Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by DOCS-85 replica sets Closed
Participants:
Days since reply: 11 years, 20 weeks, 1 day ago

 Description   

As described in "Rollback Limitations" of http://www.mongodb.org/display/DOCS/Replica+Sets+-+Rollbacks.



 Comments   
Comment by Tyler Brock [ 02/Oct/12 ]

Sam, let's not do this.

Comment by Scott Hernandez (Inactive) [ 02/Oct/12 ]

Please be careful as not all types can be represented in javascript (it also depends on the client version which can). We should not include this as an approved 10gen script. It could be in something like labs or a personal repo.

For anything which requires support please check and take extra precautions for inclusion.

Comment by Tyler Brock [ 10/Sep/12 ]

Yeah, same sort of idea but I think in this case you would want to see individual documents instead of a chunk-range and count. I'll put some more thought into it.

Comment by Sam Kleinman (Inactive) [ 10/Sep/12 ]

sure.

Probably should have an option to just apply rollback data without asking for input (force:true)

didn't you write a script like this for removing documents that end up in shards as a result of failed migrations? Same interface makes sense, no?

Comment by Tyler Brock [ 10/Sep/12 ]

Love the idea.

What would the interface look like?

Show both documents if there is a conflict and choose which one you want?

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