0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

reset slave cache when close local db

This commit is contained in:
Eliot Horowitz 2010-06-22 22:35:23 -04:00
parent dba012b665
commit af1eec7b8c

View File

@ -34,6 +34,7 @@ namespace mongo {
localDB = 0;
localOplogMainDetails = 0;
rsOplogDetails = 0;
resetSlaveCache();
}
static void _logOpUninitialized(const char *opstr, const char *ns, const char *logNS, const BSONObj& obj, BSONObj *o2, bool *bb ) {