Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-407

Unintentional fall-through in concurrent btree

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • M4.5
    • None
    • tablet
    • None

    Description

          switch (node->Update(mutation, val)) {
            case LeafNode<Traits>::UPDATE_NOTFOUND:
              node->Unlock();
            case LeafNode<Traits>::UPDATE_SUCCESS:
              node->Unlock();
              return true;
      

      would result in a double unlock

      Attachments

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: