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

Re-entering eviction can result in checkpoint corruption

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.5, 3.7.4, WT3.1.0
    • None
    • None
    • Storage Non-NYC 2018-04-23
    • v3.6

    Description

      format test failure in __split_ovfl_key_cleanup():

      /*      
       * Eviction cannot free overflow items once a checkpoint is
       * running in a tree: that can corrupt the checkpoint's block
       * management.  Assert that checkpoints aren't running to make 
       * sure we're catching all paths and to avoid regressions.
       */      
      WT_ASSERT(session,
          S2BT(session)->checkpointing != WT_CKPT_RUNNING ||
          WT_SESSION_IS_CHECKPOINT(session));
      

      In other words, we're evicting a page we can't evict.

      Attachments

        Activity

          People

            keith.bostic@mongodb.com Keith Bostic (Inactive)
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: