Ret value is not reset in background compaction

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Compaction
    • None
    • Storage Engines, Storage Engines - Persistence
    • SE Persistence backlog
    • 2

      I am suspicious of this section in compaction:

              /* All the keys with the specified prefix have been parsed. */
              if (ret == WT_NOTFOUND) {
                  full_iteration = true;
                  continue;
              }
      

      I wonder if we should reset ret to 0 here, because we proceed with continue with a WT_NOTFOUND assigned to ret and that seems to be wrong.

            Assignee:
            Albert Song
            Reporter:
            Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: