Created
March 6, 2014 01:52
-
-
Save FrancescaK/9380648 to your computer and use it in GitHub Desktop.
STEP: Look in the config database for tag range definitions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configdb = db.getSiblingDB("config") | |
configdb.tags.find().pretty() | |
{ | |
"_id" : { | |
"ns" : "enron.messages", | |
"min" : { | |
"date" : { "$minKey" : 1 } | |
} | |
}, | |
"ns" : "enron.messages", | |
"min" : { | |
"date" : { "$minKey" : 1 } | |
}, | |
"max" : { | |
"date" : ISODate("2001-07-01T00:00:00Z") | |
}, | |
"tag" : "archive" | |
} | |
{ | |
"_id" : { | |
"ns" : "enron.messages", | |
"min" : { | |
"date" : ISODate("2001-07-01T00:00:00Z") | |
} | |
}, | |
"ns" : "enron.messages", | |
"min" : { | |
"date" : ISODate("2001-07-01T00:00:00Z") | |
}, | |
"max" : { | |
"date" : { "$maxKey" : 1 } | |
}, | |
"tag" : "current" | |
} | |
sh.setBalancerState(true) | |
sh.isBalancerRunning() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment