summaryrefslogtreecommitdiff
path: root/db/repl_block.h
diff options
context:
space:
mode:
Diffstat (limited to 'db/repl_block.h')
-rw-r--r--db/repl_block.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/db/repl_block.h b/db/repl_block.h
index e9a990a..978932d 100644
--- a/db/repl_block.h
+++ b/db/repl_block.h
@@ -24,11 +24,15 @@
/**
local.slaves - current location for all slaves
-
+
*/
namespace mongo {
-
- void updateSlaveLocation( CurOp& curop, const char * ns , OpTime lastOp );
+
+ void updateSlaveLocation( CurOp& curop, const char * oplog_ns , OpTime lastOp );
+
+ /** @return true if op has made it to w servers */
bool opReplicatedEnough( OpTime op , int w );
+
void resetSlaveCache();
+ unsigned getSlaveCount();
}