summaryrefslogtreecommitdiff
path: root/s/d_logic.h
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2012-03-30 21:40:45 +0200
committerAntonin Kral <a.kral@bobek.cz>2012-03-30 21:40:45 +0200
commiteaaa7b30c99b89b5483e0a372bb73fe8c8695185 (patch)
tree6c08f243b00c0f6b7a4897a236774cf484e61314 /s/d_logic.h
parentba59b00736b5b8dc0f0bd46397575aaf0cd4d44f (diff)
downloadmongodb-eaaa7b30c99b89b5483e0a372bb73fe8c8695185.tar.gz
Imported Upstream version 2.0.4
Diffstat (limited to 's/d_logic.h')
-rw-r--r--s/d_logic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/s/d_logic.h b/s/d_logic.h
index d96f937..dca0ee1 100644
--- a/s/d_logic.h
+++ b/s/d_logic.h
@@ -147,6 +147,9 @@ namespace mongo {
// protects state below
mutable mongo::mutex _mutex;
+ // protects accessing the config server
+ // Using a ticket holder so we can have multiple redundant tries at any given time
+ mutable TicketHolder _configServerTickets;
// map from a namespace into the ensemble of chunk ranges that are stored in this mongod
// a ShardChunkManager carries all state we need for a collection at this shard, including its version information