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

Track newly created indexes until they are part of a consistent WT checkpoint, and avoid background validating them

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2019-10-21

      MongoDB index builds use the WT bulk loader, which causes WT to checkpoint the particular index table. This causes the WT checkpoint to have an inconsistent PIT view of the all the storage data. The newly created index table will have a later PIT view than the storage wide checkpoint that we usually take periodically. The next storage wide checkpoint will make the PIT view consistent again.

      This is a problem for validate with background:true because it would compare the newly checkpoint'ed index table with the checkpoint'ed collection table and other collection index tables. So validate with background:true must skip such newly created index tables until they've been checkpoint'ed at the same PIT as the rest of the storage engine.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: