-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: DHandles
-
Storage Engines
-
2
-
3
-
2023-05-16 Chook-n-Nuts Farm, 2023-05-02 StorEng Bug Bash, 2023-05-30 - 7.0 Readiness
-
v7.0, v6.0, v5.0
The goal of this ticket was to create a reproducer, and then a fix, for a range of seemingly related tickets for problems that had been found in specific, and initially hard to repro, scenarios around cursors (including bulk cursors), the sweep server, and use-after-free ASAN/MSAN errors.
During the work on this ticket, it became clear that there were actually two seperate issues, each of which was related to one or more BFs:
Issue #1: The sweep server incorrectly ignored WT_DHANDLE_DROPPED.
- Main symptom is an ASAN use-after-free error, very easily reproducible in the new tests written as part of this ticket.
- The sweep server frees the dhandle/memory too early when it shouldn’t
This is a duplicate ofAfter more work, we no longer believe these are duplicates.WT-11055/BF-28710, which we’ve not yet been able to reproduce directly.- BF-28485 partially duplicates this ticket (BF-28485 requires this fix, but also requires additional changes).
- NOTE: this change caused testing fallout and was reverted by
WT-11143
Issue #2: Assert/abort triggered by metadata rollback caused by a user creating a bulk cursor when a transaction is running
- __wt_txn_rollback() has an assert to check that metadata updates should never be rolled back. This assert is being triggered in a test case using a bulk cursor. It is very easily reproducible in the new tests written as part of this ticket.
- This is a duplicate of
WT-10751andWT-10677.
- causes
-
WT-11271 Bulk cursors can't be opened inside a transaction: Invalid argument
- Open
-
WT-12108 test_schema_abort fails with session.drop: table:wt.xxxx: No such file or directory (6.0)
- Open
-
WT-11143 Temporary partial revert to restore Evergreen greenness
- Closed
- is duplicated by
-
WT-10677 Fix "No such file or directory" error in test_schema_abort
- Closed
-
WT-10751 Fix test_schema_abort failure with message: session.drop: table:wt.xxxx force=false: No such file or directory
- Closed
- related to
-
SERVER-78134 disable concurrency_simultaneous_replication_wiredtiger_cursor_sweeps on macos-arm64 and macOS
- Closed
-
WT-11495 Prevent user creating a bulk LSM cursor when a transaction is running
- Closed