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

Investigate changes in SERVER-48578: Skip fast count enforcement on the oplog when running validate with enforceFastCount=true

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • 4.7.0
    • manual, Server
    • None

    Description

      Description

      Downstream Change Summary

      SERVER-44650 added the enforceFastCount mode to the validate command (documented by DOCS-13667). This ticket makes it so that the fast count will not be enforced when validate is run on the oplog collection, even if enforceFastCount is set to true (in other words, the enforceFastCount flag is ignored when validate is run on local.oplog.rs).

      Description of Linked Ticket

      Oplog writers only take a global IX lock, so the oplog can still be written to even during full validation despite its collection X lock. This can cause validate to incorrectly report an incorrect fast count on the oplog when run in enforceFastCount mode. Thus, even if enforceFastCount is specified, the fast count should not be enforced on the oplog.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 32 weeks, 2 days ago