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

Investigate changes in SERVER-44650: New test mode for foreground validate that doesn't silently fix fastcounts

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.5.1
    • Component/s: manual

      Description

      Description

      Downstream Change Summary

      This adds an optional parameter to the validate command 'enforceFastCount'. When enabled (

      Unknown macro: {enforceFastCount}

      ), validation will fail if the fast count is not equal to the true record count. When disabled (

      Unknown macro: {enforceFastCount}

      ) or not specified, behavior is the same as before (where validate corrects the fast count if it is incorrect). Note that currently, fast counts are known to be incorrect in certain circumstances such as unclean shutdown or active prepared transactions.

      Description of Linked Ticket

      It might be possible to add a new mode for validate that checks fastcount values against the actual record count, and when the values do not match, fail validation instead of fixing the fastcounts. This mode would be used by our test infrastructure in suites that do not undertake unclean shutdowns.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              backlog-server-pm Backlog - DB Eng Program Management Team
              Participants:
              Last commenter:
              Ravind Kumar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Days since reply:
                10 weeks ago