summaryrefslogtreecommitdiff
path: root/s/d_state.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-03-07 12:06:19 -0500
committerEliot Horowitz <eliot@10gen.com>2011-03-07 12:10:21 -0500
commit509f17bc07183efa28869a76cf34aa6cfa03e525 (patch)
treebc3a0db8365277d55fae6da47bed4ee0d96785d7 /s/d_state.cpp
parentbec1db9fc0cb03fd6fb94efd57f0dd7a6a30cf0a (diff)
downloadmongo-509f17bc07183efa28869a76cf34aa6cfa03e525.tar.gz
Revert "fix setShardVersion on a new db"
This reverts commit 049436fd5b352f7beff5d6648189fa1dcfa79f33.
Diffstat (limited to 's/d_state.cpp')
-rw-r--r--s/d_state.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/s/d_state.cpp b/s/d_state.cpp
index 00982ddcfe8..11fbcef7944 100644
--- a/s/d_state.cpp
+++ b/s/d_state.cpp
@@ -507,9 +507,7 @@ namespace mongo {
}
// step 4
- // TODO: this step needs to be clean up.
dblock setShardVersionLock; // TODO: can we get rid of this??
- Client::Context cx( ns );
if ( oldVersion > 0 && globalVersion == 0 ) {
// this had been reset