Remove clearing WT_CURSTD_DEBUG_COPY_KEY and WT_CURSTD_DEBUG_COPY_VALUE in __clayered_open_cursors

XMLWordPrintableJSON

    • Type: Technical Debt
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0
    • Affects Version/s: None
    • Component/s: Cursors
    • None
    • Storage Engines - Transactions
    • SE Transactions - 2026-03-27
    • 1

      Layered cursor now supports debug copy option after WT-16926, layered cursor now supports debug copy options. So the following code is no longer valid and we should remove them:

              /* Layered cursor is not compatible with cursor_copy config. */
              F_CLR(clayered->ingest_cursor, WT_CURSTD_DEBUG_COPY_KEY | WT_CURSTD_DEBUG_COPY_VALUE);
      

      It also doesn't really disable the feature because as long as the feature is enabled on the connection, these flags will be set again on the cursors.

            Assignee:
            Chenhao Qu
            Reporter:
            Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: