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

page-split failures

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The page-split cleanup needs review and cleanup, there are a few different obvious problems:

      • wt_split_rewrite isn't discarding the newly created page on error
      • split_multi_inmem discards the replacement disk image which means on failure, the reconciliation state is corrupted
      • wt_split_insert doesn't get the accounting correct if the page-split fails.

      This is exacerbated by the new code that relies on split_parent locking the page (using the reconciliation lock), and returning EBUSY if the lock isn't available and the file is being checkpointed, to avoid deadlock. This makes it likely that a busy system can trigger one of these failures.

            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: