Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2014

Compact causes updates to the turtle file

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Labels:
      None

      Description

      I've noticed that running compact can cause an update to be propagated to the turtle file. This isn't correct. The compact is doing checkpoints of an explicit target, and we only expect the turtle file to be updated for full checkpoints.

      I encountered this issue due to a recovery problem. Recovery was getting a starting LSN from the turtle file that corresponded to a file_sync log record, instead of a checkpoint log record. That LSN is being written into the turtle file when compact is run for a single btree.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alexander.gorrod Alexander Gorrod
                Reporter:
                alexander.gorrod Alexander Gorrod
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: