foundationdb/tests
gxglass 12ec997d03
Backport DD pipeline saturation test + gate-all-priorities (PR 13381) (#13411)
Ports apple/foundationdb#13381 to release-7.4:

- DDRelocationQueue: the relocation pipeline gate now holds moves of all
  priorities when the pipeline is full; only cancellations bypass (they
  reduce tracked metadata rather than add to it). Previously moves with
  priority >= PRIORITY_TEAM_UNHEALTHY passed through unconditionally. Add a
  "DD Pipeline Full" CODE_PROBE where pipelineFull is set.
- ServerKnobs: raise the buggified DD_MAX_PIPELINE_MOVES from 5 to 20 so
  simulation does not test under artificial scarcity (degenerate cases).
- Add fast/DDPipelineSaturation.toml, which saturates the back-pressure
  gate via many small shards plus failure-recovery relocations and trips
  the new code probe.

Paths adapted from main's layout (fdbserver/core, fdbserver/datadistributor)
to release-7.4 (fdbclient/ServerKnobs.cpp, fdbserver/DDRelocationQueue.actor.cpp);
the BUGGIFY macro is retained.

Testing: Release build; ran fdbserver -r simulation on DDPipelineSaturation
across several seeds, buggify on and off. The gate change is behaviorally
inert in these runs -- a baseline binary with the priority condition restored
produces bit-identical transaction counts and there are no SevError events --
and the "DD Pipeline Full" code probe is hit every run. The test currently
trips the Cycle workload's "Rate below desired rate" check because this branch
still carries the Cycle minimum-rate check that main removed in #13297; it
passes once that check is gone. Joshua validation deferred until the #13297
backport is sequenced onto the branch.
2026-07-07 16:44:08 -07:00
..
TestRunner Bump cryptography from 43.0.1 to 44.0.1 in /tests/TestRunner (#11989) 2025-03-03 11:38:21 -08:00
argument_parsing More copyright end year updates (#11556) 2024-08-05 14:00:32 -07:00
authorization Bump cryptography from 43.0.1 to 44.0.1 in /tests/authorization #11939 2025-02-11 13:18:35 -08:00
fast Backport DD pipeline saturation test + gate-all-priorities (PR 13381) (#13411) 2026-07-07 16:44:08 -07:00
loopback_cluster Backup v2 fails in s3_backup_test.sh as backupworkers misses knobs. (#12751) 2026-03-04 19:58:15 -08:00
negative Disable enable_version_vector_reply_recovery in version vector tests. (#12032) 2025-03-18 19:52:29 -04:00
noSim Remove per thread histogram in storage engine and fix bugs in range scan. (#11967) 2025-02-25 10:52:46 -08:00
python_tests More copyright end year updates (#11556) 2024-08-05 14:00:32 -07:00
rare 7.4 branch: remove Tenant and Metacluster tests, as those features are not used and have been removed on main branch (#12713) 2026-02-17 00:04:01 -08:00
restarting 7.4: delete 33 mostly BlobGranule related but generally unneeded toml files (#12640) 2026-01-15 15:09:43 -08:00
slow Design changes to pass encryption_block_size to fdbbackup command and remove knob (#13126) (#13205) 2026-05-15 09:58:04 -07:00
status Rename more places from proxy to commit proxy 2020-09-15 22:29:49 -07:00
AsyncFileCorrectness.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
AsyncFileMix.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
AsyncFileRead.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
AsyncFileReadRandom.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
AsyncFileWrite.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
BGServerCommonUnit.toml Cleanup 2022-03-24 17:15:11 -05:00
BackupContainers.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
BandwidthThrottle.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
BigInsert.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
BlobManagerUnit.toml Cleanup 2022-03-24 17:15:11 -05:00
CMakeLists.txt Backport DD pipeline saturation test + gate-all-priorities (PR 13381) (#13411) 2026-07-07 16:44:08 -07:00
CTestCustom.ctest.cmake Python_EXECUTABLE to Python3_EXECUTABLE 2022-07-29 14:57:29 -07:00
ClusterControllerTests.txt Add updateWorkerHealth interface in cluster controller 2021-06-24 19:42:28 -07:00
ConsistencyCheck.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
DDMetricsExclude.txt Make sure only uppercase characters follow underscore in test titles 2020-11-08 14:30:55 -08:00
DataDistributionMetrics.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
DiskDurability.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
FileSystem.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
Happy.txt Initial repository commit 2017-05-25 13:48:44 -07:00
IThreadPool.txt Added unit test. 2021-08-09 16:21:43 -07:00
IncrementalDelete.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
KVStoreMemTest.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
KVStoreReadMostly.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
KVStoreTest.txt Refactored some parts of database configuration to support log_engine=<name> and storage_engine=<name> and generate these when converting a DatabaseConfig JSON object to a `configure` command. Refactored `fileconfigure` and simulation setup to use the same JSON -> configure function as the same code was copy/pasted to both places but only one has been kept up to date with new features. Renamed Redwood to `ssd-redwood-1` canonically but the experimental name is still supported for backward compatibility. 2023-03-04 20:52:31 -08:00
KVStoreTestRead.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
KVStoreTestWrite.txt Initial repository commit 2017-05-25 13:48:44 -07:00
KVStoreValueSize.txt Initial repository commit 2017-05-25 13:48:44 -07:00
LayerStatusMerge.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
Mako.txt Add a simple workload, ReportConflictingKeysWorkload, to test correctness of the API and performance overhead added to the resovler. 2019-12-06 16:21:03 -08:00
ParallelRestoreApiCorrectnessAtomicRestore.txt Adding mutation log type configuration to backup. (#13127) 2026-05-07 12:01:01 -07:00
ParallelRestoreOldBackupApiCorrectnessAtomicRestore.toml Adding mutation log type configuration to backup. (#13127) 2026-05-07 12:01:01 -07:00
PerfUnitTests.toml added file to run perf unit tests 2021-11-08 15:54:18 -07:00
PureNetwork.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
RRW2500.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
RandomRangeRead.txt Minor Redwood comparison optimizations 2021-04-23 18:49:43 +00:00
RandomRead.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
RandomReadWrite.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
ReadAbsent.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
ReadAfterWrite.txt Add a ReadAfterWrite workload, to measure TLog->SS propagation delay. 2020-07-01 02:17:43 -07:00
ReadHalfAbsent.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
RedwoodCorrectness.txt Some unit tests names had a prefixed "!" in order to be excluded from random selection, this has been changed to a ":" as it is less problematic on the command line. Some Redwood unit tests have been enabled for random selection. 2021-04-05 00:03:15 -07:00
RedwoodCorrectnessBTree.txt Some unit tests names had a prefixed "!" in order to be excluded from random selection, this has been changed to a ":" as it is less problematic on the command line. Some Redwood unit tests have been enabled for random selection. 2021-04-05 00:03:15 -07:00
RedwoodCorrectnessPager.txt Some unit tests names had a prefixed "!" in order to be excluded from random selection, this has been changed to a ":" as it is less problematic on the command line. Some Redwood unit tests have been enabled for random selection. 2021-04-05 00:03:15 -07:00
RedwoodCorrectnessUnits.txt Some unit tests names had a prefixed "!" in order to be excluded from random selection, this has been changed to a ":" as it is less problematic on the command line. Some Redwood unit tests have been enabled for random selection. 2021-04-05 00:03:15 -07:00
RedwoodPerfPrefixCompression.txt Some unit tests names had a prefixed "!" in order to be excluded from random selection, this has been changed to a ":" as it is less problematic on the command line. Some Redwood unit tests have been enabled for random selection. 2021-04-05 00:03:15 -07:00
RedwoodPerfRandomRangeScans.txt Minor Redwood comparison optimizations 2021-04-23 18:49:43 +00:00
RedwoodPerfSequentialInsert.txt Some unit tests names had a prefixed "!" in order to be excluded from random selection, this has been changed to a ":" as it is less problematic on the command line. Some Redwood unit tests have been enabled for random selection. 2021-04-05 00:03:15 -07:00
RedwoodPerfSet.txt Some unit tests names had a prefixed "!" in order to be excluded from random selection, this has been changed to a ":" as it is less problematic on the command line. Some Redwood unit tests have been enabled for random selection. 2021-04-05 00:03:15 -07:00
RedwoodPerfTests.txt Some unit tests names had a prefixed "!" in order to be excluded from random selection, this has been changed to a ":" as it is less problematic on the command line. Some Redwood unit tests have been enabled for random selection. 2021-04-05 00:03:15 -07:00
RocksDBTest.txt rename ssd-rocksdb-experimental as ssd-rocksdb-v1. 2022-03-29 10:53:38 -07:00
S3BlobStore.txt Disambiguate between S3BlobStore and other blob stores 2020-10-29 20:42:23 -07:00
SampleNoSimAttrition.txt fixed indentation issues 2019-10-24 13:21:28 -07:00
SimpleExternalTest.txt Rust external workload modifications (#11805) 2024-12-04 15:43:20 -08:00
SpecificUnitTest.txt Exclude cluster tests from tests/SpecificUnitTest.toml (#8641) 2022-11-02 10:34:33 -07:00
StorageMetricsSampleTests.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
StorageServerInterface.txt Testing Storage Server implementation 2021-05-25 20:28:50 +00:00
StreamingWrite.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
SystemData.txt Testing Storage Server implementation 2021-05-25 20:28:50 +00:00
ThreadSafety.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
TraceEventMetrics.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
WorkerTests.txt revert unintended changes 2021-08-09 16:29:57 -07:00
default.txt Initial repository commit 2017-05-25 13:48:44 -07:00
errors.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
fail.txt Initial repository commit 2017-05-25 13:48:44 -07:00
killall.txt Make the testspec more restrictive in terms of what can be set where. 2020-07-06 02:03:30 -07:00
latency.txt Initial repository commit 2017-05-25 13:48:44 -07:00
performance-fs.txt Initial repository commit 2017-05-25 13:48:44 -07:00
performance.txt Initial repository commit 2017-05-25 13:48:44 -07:00
ping.TXT Initial repository commit 2017-05-25 13:48:44 -07:00
pingServers.TXT Initial repository commit 2017-05-25 13:48:44 -07:00
pt.TXT Initial repository commit 2017-05-25 13:48:44 -07:00
randomSelector.txt Make sure only uppercase characters follow underscore in test titles 2020-11-08 14:30:55 -08:00
s3VersionHeaders.txt Support AWS v4 header for s3 backup and restore 2022-02-07 17:53:05 -08:00
selectorCorrectness.txt Make sure only uppercase characters follow underscore in test titles 2020-11-08 14:30:55 -08:00