mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
5e9c18c43e
GitOrigin-RevId: 275b8a7859c3a4edc8a6d86cce34b7eef5493869
24 lines
789 B
YAML
24 lines
789 B
YAML
# Overrides for testing unreplicated truncates.
|
|
|
|
###
|
|
# Fixture options.
|
|
###
|
|
- name: replica_sets_fixture
|
|
value:
|
|
executor:
|
|
fixture:
|
|
mongod_options:
|
|
# Modify default allocation size and leaf page size so that there are more pages on disk
|
|
# susceptible to fast truncates.
|
|
wiredTigerCollectionConfigString: "allocation_size=1k,leaf_page_max=1k"
|
|
|
|
- name: pre_images_truncate_only_secondaries
|
|
value:
|
|
executor:
|
|
fixture:
|
|
mongod_options:
|
|
set_parameters:
|
|
# We do not truncate on the primary in order to maintain a full record of all preimages.
|
|
# That way we can easily detect any pre-image holes on the secondaries.
|
|
failpoint.preImagesTruncateOnlyOnSecondaries: "{mode: 'alwaysOn'}"
|