Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9438

Docs for SERVER-25417: harden checks around using --shardSvr, --overrideShardIdentity, and queryableBackupMode

    XMLWordPrintableJSON

Details

    Description

      Engineering Ticket Description:

      in queryableBackupMode:

      • require --overrideShardIdentity if started with --shardsvr
      • add a warning if started with --overrideShardIdentity but not --shardsvr

      in non-queryableBackupMode:

      • fail if started with --overrideShardIdentity
      • add a warning if a shardIdentity document exists on disk but not started with --shardsvr
      • add a warning if no shardIdentity document exists on disk but started with --shardsvr

      additionally:

      • use Date_t::max() as the deadline for initializeFromShardIdentity() in all cases
      • generally refactor startup and shard aware initialization code for clarity and conciseness

      Attachments

        Activity

          People

            ravind.kumar Ravind Kumar (Inactive)
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago