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:
parent
dba012b665
commit
af1eec7b8c
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user