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

Investigate changes in SERVER-41888: Shutting down with prepared transaction can invariant during collection validation

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.1, 4.2.0-rc3
    • manual, Server
    • None

    Description

      Description

      SERVER ticket description:

      If a test shuts down a node without committing or aborting a prepared transaction, collection validation will run into a prepare conflict. Previously, this would result in a hang. After SERVER-40936, this results in an invariant failure. While this is easy to avoid, it contradicts our general philosophy that we should not be able to hit invariants in tests. It might also be worth investigating if there are any other dangers that might come of this.

      Change Description:

      The 'validate' command does not take {readConcern: {afterClusterTime: ...}} anymore and thus cannot be used in causally consistent sessions.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

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

      Attachments

        Issue Links

          Activity

            People

              kay.kim@mongodb.com Kay Kim (Inactive)
              backlog-server-pm Backlog - Core Eng Program Management Team
              Kay Kim Kay Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 45 weeks, 6 days ago