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

Fix prepared update resolution assertion

    • 1
    • TheMoon-StorEng - 2023-09-19
    • v7.1, v7.0, v6.0

      This assert:

          WT_RET_ASSERT(session, WT_DIAGNOSTIC_PREPARED, *updp != NULL || op->btree->collator == NULL,
            WT_NOTFOUND, "unable to locate update associated with a prepared operation");
      

      Should've been:

          WT_RET_ASSERT(session, WT_DIAGNOSTIC_PREPARED, *updp != NULL || op->btree->collator != NULL,
            WT_NOTFOUND, "unable to locate update associated with a prepared operation");
      

      In it's current form it is unlikely to fire under any conditions.

            Assignee:
            luke.pearson@mongodb.com Luke Pearson
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: