Skip to content

Commit

Permalink
rs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dwight authored and dwight committed Jul 30, 2010
1 parent e8cbbe6 commit 4c7452e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion db/dbwebserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ namespace mongo {
}
ss << start(dbname) << h2(dbname);
ss << "<a href=\"/_commands\">List all commands</a> | \n";
ss << "<a href=\"/_replSet\">Replica set status</a>\n";
ss << "<a href=\"/_replSet\">Replica set status</a><br>\n";

//ss << "<a href=\"/_status\">_status</a>";
{
Expand Down
2 changes: 1 addition & 1 deletion db/repl/consensus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ namespace mongo {
}
}
DEV log() << "replSet dev we are freshest of up nodes, nok:" << nok << " nTies:" << nTies << rsLog;
assert( ord == theReplSet->lastOpTimeWritten );
assert( ord <= theReplSet->lastOpTimeWritten ); // <= as this may change while we are working...
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion shell/mongo_vstudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ const char * jsconcatcode =
"return this._name;}\n"
"DB.prototype.toString = function(){\n"
"return this._name;}\n"
"DB.prototype.isMaster = function(){ return db.runCommand(\"isMaster\");}\n"
"DB.prototype.isMaster = function(){ return this.runCommand(\"isMaster\");}\n"
"DB.prototype.currentOp = function(){\n"
"return db.$cmd.sys.inprog.findOne();}\n"
"DB.prototype.currentOP = DB.prototype.currentOp;\n"
Expand Down

0 comments on commit 4c7452e

Please sign in to comment.