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

MigrationChunkClonerSource::_checkRecipientCloningStatus tries to access null _sessionCatalogSoure

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL
    • 14

    Description

      https://github.com/10gen/mongo/blob/f314b9690b1677033e17b0b2f56590c2f29636b4/src/mongo/db/s/migration_chunk_cloner_source.cpp#L1212

       _sessionCatalogSoure is currently only initialized when mode is in repl set. Since we are going to make repl set enabled all the time we can probably get rid of the conditional initialization. For older branches, we should add if condition to check if it is null like the rest of the code.

      Attachments

        Activity

          People

            randolph@mongodb.com Randolph Tan
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: