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

Re-entering eviction can result in checkpoint corruption

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.5, 3.7.4, WT3.1.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Non-NYC 2018-04-23
    • v3.6

      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.

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

              Created:
              Updated:
              Resolved: