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

invariant failure during movePrimary during cleanup

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Sprint:
      Sharding 2018-10-08
    • Linked BF Score:
      68

      Description

      One case is when clone hits an assertion here, so the cleanupOnError gets ran before setMovePrimarySourceManager was called.

      This can easily be fixed by either:
      1. Make cleanup no-op if sourceMgr doesn't exist
      or
      2. Move the scopedGuard after uassert (less future proof)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: