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

Re-entering eviction can result in checkpoint corruption

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.5, 3.7.4, WT3.1.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Storage Non-NYC 2018-04-23
    • Backport Requested:
      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

            Assignee:
            keith.bostic Keith Bostic
            Reporter:
            keith.bostic Keith Bostic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: