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

Don't cache an ikey before winning the race to split into a parent.

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.5.2
    • Labels:

      Description

      refs WT-1582

        Issue Links

          Activity

          Hide
          michael.cahill Michael Cahill added a comment -

          @keithbostic, can you please review?

          The problem was that callers of __split_parent were caching an ikey that could be obsolete by the time they won the race to set the SPLITTING flag in the parent page if the parent deepened in the meantime. The fix gets rid of a bunch of code, but adds some subtlety to deleted_count.

          Show
          michael.cahill Michael Cahill added a comment - @keithbostic, can you please review? The problem was that callers of __split_parent were caching an ikey that could be obsolete by the time they won the race to set the SPLITTING flag in the parent page if the parent deepened in the meantime. The fix gets rid of a bunch of code, but adds some subtlety to deleted_count .
          Hide
          ramon.fernandez Ramon Fernandez added a comment -

          Additional ticket information from GitHub

          Commits in this ticket:
          This ticket was referenced in the following commits:
          Show
          ramon.fernandez Ramon Fernandez added a comment - Additional ticket information from GitHub Commits in this ticket: 16119f98fee9525bf1990ccbcc979b9f08a8b000 22f142129260d3bfd98f96328b46a269fed06837 a8bfde99ab8c556f2d8c768d716489433e9c2147 This ticket was referenced in the following commits: 474f4a071b69dec371d8d98ba365b17558d369e4

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                2 years, 10 weeks, 5 days ago
                Date of 1st Reply: