diff options
Diffstat (limited to 'db/repl_block.h')
-rw-r--r-- | db/repl_block.h | 10 |
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(); } |