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

Have WT RTT rollback keep correct counts

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Repl 2018-03-26, Repl 2018-04-09

    Description

      SERVER-33488 describes how counts in RTT WT can diverge with reality across restarts. This ticket is for correcting counts across rollbacks. The proposal:

      Have the rollback op observer track the inserts/deletes being rolled back for each collection/UUID. Use this information to adjust counts.

      I expect this correction to not be crash-resistant so long as replication truncates the oplog before recovering forward from the stable point to the common point. In general, WT already has problems keeping correct counts across crashes.

      Attachments

        Issue Links

          Activity

            People

              judah.schvimer@mongodb.com Judah Schvimer
              daniel.gottlieb@mongodb.com Daniel Gottlieb
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: