Details
-
Improvement
-
Resolution: Won't Fix
-
Minor - P4
-
None
-
None
-
None
Description
if ( ctx.justCreated() || empty || incompleteClone ) {
|
// we must add to incomplete list now that setClient has been called
|
incompleteCloneDbs.insert( clientName );
|
if ( nClonedThisPass ) {
|
An empty database can potentially be recloned unnecessarily, as we always reclone if we see an empty db. This can be seen when the profile1.js test is run in small oplog mode. This test repeatedly drops profile1.system.profile, causing the slave to attempt to apply an op for the empty db 'profile1' (the op is a command so registered in namespace profile1.$cmd).
<http://buildbot.mongodb.org/builders/Linux%2064-bit%20DUR%20OFF/builds/879/steps/test_2/logs/stdio>