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

[SERVER] Skip dbhash check for temporary collections in shard split passthroughs

    XMLWordPrintableJSON

Details

    Description

      Comes from: Investigate changes in SERVER-68597:
      ----------

      Original Downstream Change Summary

      We added a new `skipTempCollections`parameter to the dbHash command that will skip computing the hash for temporary collections. It is an internal parameter meant for our testing framework : we don't see an external usage nor do we really want to publicize it.

      Description of Linked Ticket

      A number of jstests test commands which might create temporary collections as a side-effect of normal operation. Usually, it's okay to check these temp collections during dbhash checks but shard split has an implicit stepup (to elect a recipient primary) which will clear temp collections. In this case, we see dbhash check failures because the donor has the temp collection, and the recipient does not.

      Attachments

        Activity

          People

            Unassigned Unassigned
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 5 weeks ago