Disable bulk cursor operations when transactions are enabled in schema_abort test

XMLWordPrintableJSON

    • Storage Engines
    • StorEng - 2025-03-14
    • 1

      After WT-10994, we started to see the csuite-schema-abort task with the following logs:

      WT_SESSION.open_cursor: [WT_VERB_DEFAULT][ERROR]: int __wt_curfile_open(WT_SESSION_IMPL *, const char *, WT_CURSOR *, const char **, WT_CURSOR **), 1125: Bulk cursors can't be opened inside a transaction: Invalid argument
      

      See an example here.

      This is because we can no longer open a bulk cursor when a transaction is already running which is what the test is trying to do. We already have a Python test checking for this invalid scenario now, see here.

      I made a few suggestions here to change the code to avoid those logs.

              Assignee:
              Etienne Petrel
              Reporter:
              Etienne Petrel
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: