Merge pull request #7115 from sbodagala/main

Cherry-pick version vector disable/enable restart tests
This commit is contained in:
Jingyu Zhou 2022-05-10 13:03:16 -07:00 committed by GitHub
commit fcd3917d1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 234 additions and 0 deletions

View File

@ -276,6 +276,12 @@ if(WITH_PYTHON)
add_fdb_test(
TEST_FILES restarting/from_7.1.0/ConfigureStorageMigrationTestRestart-1.toml
restarting/from_7.1.0/ConfigureStorageMigrationTestRestart-2.toml)
add_fdb_test(
TEST_FILES restarting/from_7.1.0/VersionVectorDisableRestart-1.toml
restarting/from_7.1.0/VersionVectorDisableRestart-2.toml)
add_fdb_test(
TEST_FILES restarting/from_7.1.0/VersionVectorEnableRestart-1.toml
restarting/from_7.1.0/VersionVectorEnableRestart-2.toml)
add_fdb_test(TEST_FILES slow/ApiCorrectness.toml)

View File

@ -0,0 +1,60 @@
[[knobs]]
enable_version_vector = true
enable_version_vector_tlog_unicast = true
proxy_use_resolver_private_mutations = true
[[test]]
testTitle='VersionVectorDowngrade'
clearAfterTest=false
[[test.workload]]
testName='Cycle'
transactionsPerSecond=2500.0
nodeCount=1000
testDuration=30.0
expectedRate=0
keyPrefix = 'cycle'
[[test.workload]]
testName = 'Cycle'
nodeCount = 1000
transactionsPerSecond = 2500.0
testDuration = 30.0
expectedRate = 0
keyPrefix = '!'
[[test.workload]]
testName = 'Cycle'
nodeCount = 1000
transactionsPerSecond = 2500.0
testDuration = 30.0
expectedRate = 0
keyPrefix = 'ZZZ'
[[test.workload]]
testName='RandomClogging'
testDuration=10.0
[[test.workload]]
testName='Rollback'
meanDelay=10.0
testDuration=10.0
[[test.workload]]
testName='Attrition'
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
[[test.workload]]
testName='Attrition'
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
[[test.workload]]
testName='SaveAndKill'
restartInfoLocation='simfdb/restartInfo.ini'
testDuration=60.0

View File

@ -0,0 +1,54 @@
[[knobs]]
enable_version_vector = false
enable_version_vector_tlog_unicast = false
[[test]]
testTitle='VersionVectorDowngrade'
runSetup=false
[[test.workload]]
testName='Cycle'
transactionsPerSecond=2500.0
nodeCount=1000
testDuration=30.0
expectedRate=0
keyPrefix = 'cycle'
[[test.workload]]
testName = 'Cycle'
nodeCount = 1000
transactionsPerSecond = 2500.0
testDuration = 30.0
expectedRate = 0
keyPrefix = '!'
[[test.workload]]
testName = 'Cycle'
nodeCount = 1000
transactionsPerSecond = 2500.0
testDuration = 30.0
expectedRate = 0
keyPrefix = 'ZZZ'
[[test.workload]]
testName='RandomClogging'
testDuration=10.0
[[test.workload]]
testName='Rollback'
meanDelay=10.0
testDuration=10.0
[[test.workload]]
testName='Attrition'
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
[[test.workload]]
testName='Attrition'
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=60.0

View File

@ -0,0 +1,59 @@
[[knobs]]
enable_version_vector = false
enable_version_vector_tlog_unicast = false
[[test]]
testTitle='VersionVectorUpgrade'
clearAfterTest=false
[[test.workload]]
testName='Cycle'
transactionsPerSecond=2500.0
nodeCount=1000
testDuration=30.0
expectedRate=0
keyPrefix = 'cycle'
[[test.workload]]
testName = 'Cycle'
nodeCount = 1000
transactionsPerSecond = 2500.0
testDuration = 30.0
expectedRate = 0
keyPrefix = '!'
[[test.workload]]
testName = 'Cycle'
nodeCount = 1000
transactionsPerSecond = 2500.0
testDuration = 30.0
expectedRate = 0
keyPrefix = 'ZZZ'
[[test.workload]]
testName='RandomClogging'
testDuration=10.0
[[test.workload]]
testName='Rollback'
meanDelay=10.0
testDuration=10.0
[[test.workload]]
testName='Attrition'
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
[[test.workload]]
testName='Attrition'
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
[[test.workload]]
testName='SaveAndKill'
restartInfoLocation='simfdb/restartInfo.ini'
testDuration=60.0

View File

@ -0,0 +1,55 @@
[[knobs]]
enable_version_vector = true
enable_version_vector_tlog_unicast = true
proxy_use_resolver_private_mutations = true
[[test]]
testTitle='VersionVectorUpgrade'
runSetup=false
[[test.workload]]
testName='Cycle'
transactionsPerSecond=2500.0
nodeCount=1000
testDuration=30.0
expectedRate=0
keyPrefix = 'cycle'
[[test.workload]]
testName = 'Cycle'
nodeCount = 1000
transactionsPerSecond = 2500.0
testDuration = 30.0
expectedRate = 0
keyPrefix = '!'
[[test.workload]]
testName = 'Cycle'
nodeCount = 1000
transactionsPerSecond = 2500.0
testDuration = 30.0
expectedRate = 0
keyPrefix = 'ZZZ'
[[test.workload]]
testName='RandomClogging'
testDuration=10.0
[[test.workload]]
testName='Rollback'
meanDelay=10.0
testDuration=10.0
[[test.workload]]
testName='Attrition'
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=10.0
[[test.workload]]
testName='Attrition'
machinesToKill=10
machinesToLeave=3
reboot=true
testDuration=60.0