Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5317

an empty database may be repeatedly, unnecessarily recloned

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Replication
    • 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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: