From 12f5a46e4d5bf4bac42ba9fd42c44f85d9a9c25e Mon Sep 17 00:00:00 2001 From: Aaron Date: Wed, 3 Feb 2010 00:13:42 -0800 Subject: [PATCH] SERVER-507 comments --- jstests/repl/pair4.js | 1 + jstests/repl/pair5.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jstests/repl/pair4.js b/jstests/repl/pair4.js index 5a59c1610b1..c04433e4831 100644 --- a/jstests/repl/pair4.js +++ b/jstests/repl/pair4.js @@ -134,6 +134,7 @@ doTest = function( recover, newMaster, newSlave ) { } +// right will be master on recovery b/c both sides will have completed initial sync debug( "basic test" ); doTest( function() { connect(); diff --git a/jstests/repl/pair5.js b/jstests/repl/pair5.js index ed8c72d843a..de7e2d517cc 100644 --- a/jstests/repl/pair5.js +++ b/jstests/repl/pair5.js @@ -62,7 +62,7 @@ doTest = function( nSlave, opIdMem ) { disconnect(); pair.waitForSteadyState( [ 1, 1 ], null, true ); - // left will become slave + // left will become slave (b/c both completed initial sync) for( i = 0; i < nSlave; ++i ) { write( pair.left(), i, i ); }