Use a new error code instead of DuplicateKey in KeyExists in wtRCToStatus_slow

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Storage Execution 2026-02-02
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently in wtRCToStatus_slow, WT_DUPLICATE_KEY gets converted to DuplicateKey. However, DuplicateKey represents a higher-level error when inserting into a unique index, and it also requires DuplicateKeyErrorInfo which is not relevant in such a low layer. Currently, hitting this path will cause an exception to be thrown since it is not constructed with a DuplicateKeyErrorInfo.

            Assignee:
            Gregory Noma
            Reporter:
            Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: