0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

add comment

This commit is contained in:
Eliot Horowitz 2011-01-17 23:31:31 -05:00
parent 41daf0e83f
commit 6be565d608

View File

@ -155,7 +155,8 @@ namespace mongo {
char buf[32]; char buf[32];
while ( 1 ) { while ( 1 ) {
OpTime op(c.getLastOp()); OpTime op(c.getLastOp());
// check this first for w=0 or w=1
if ( opReplicatedEnough( op, w ) ) if ( opReplicatedEnough( op, w ) )
break; break;