Details
Description
SERVER-66770 is fuzzing some parameters in WiredTiger including debug_mode=(rollback_error=N). This forces WiredTiger to return rollback for every Nth operation.
The patch test for the change request for SERVER-66770 found a bug for the following fuzzed range:
dbg_rollback_error = rng.choice([0, rng.randint(250, 1500)])
|
There is an invariant that gets hit on mongod shutdown:
struct SizeInfo {
|
SizeInfo() = default;
|
SizeInfo(long long records, long long size) : numRecords(records), dataSize(size) {}
|
|
|
~SizeInfo() {
|
invariant(!_dirty.load()); <<<<<<<<<<<<<<<<<<<<<<<<<<
|
}
|
AtomicWord<long long> numRecords;
|
AtomicWord<long long> dataSize;
|
It appears like during the shutdown the size store is expected to be set to clean but is dirty instead.
Attachments
Issue Links
- is depended on by
-
SERVER-66770 Consider turning knobs that increase the chaos in our tests
-
- Closed
-
-
SERVER-69697 Enable rollback_error config fuzz
-
- Blocked
-