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

Bulk cursors can't be opened inside a transaction: Invalid argument

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 3
    • StorEng - Refinement Pipeline

      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:
            keith.smith@mongodb.com Keith Smith
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: