Add assassination workload to restore test workload
Add assert to ensure restore worker is reliable and not killed.
This commit is contained in:
parent
51047a6c1d
commit
48db54424f
|
@ -312,7 +312,13 @@ ACTOR Future<Void> _restoreWorker(Database cx, LocalityData locality) {
|
|||
if (addresses.secondaryAddress.present()) {
|
||||
g_simulator.protectedAddresses.insert(addresses.secondaryAddress.get());
|
||||
}
|
||||
TraceEvent("ProtectRestoreWorker").detail("Address", addresses.toString()).backtrace();
|
||||
ISimulator::ProcessInfo* p = g_simulator.getProcessByAddress(myWorkerInterf.address());
|
||||
TraceEvent("ProtectRestoreWorker")
|
||||
.detail("Address", addresses.toString())
|
||||
.detail("IsReliable", p->isReliable())
|
||||
.detail("ReliableInfo", p->getReliableInfo())
|
||||
.backtrace();
|
||||
ASSERT(p->isReliable());
|
||||
}
|
||||
|
||||
TraceEvent("FastRestoreWorkerKnobs", myWorkerInterf.id())
|
||||
|
|
|
@ -33,18 +33,19 @@ testTitle=BackupAndParallelRestoreWithAtomicOp
|
|||
; meanDelay=90.0
|
||||
; testDuration=90.0
|
||||
|
||||
; Do NOT consider machine crash yet
|
||||
; testName=Attrition
|
||||
; machinesToKill=10
|
||||
; machinesToLeave=3
|
||||
; reboot=true
|
||||
; testDuration=90.0
|
||||
; Do NOT kill restore worker process yet
|
||||
; Kill other process to ensure restore works when FDB cluster has faults
|
||||
testName=Attrition
|
||||
machinesToKill=10
|
||||
machinesToLeave=3
|
||||
reboot=true
|
||||
testDuration=90.0
|
||||
|
||||
; testName=Attrition
|
||||
; machinesToKill=10
|
||||
; machinesToLeave=3
|
||||
; reboot=true
|
||||
; testDuration=90.0
|
||||
testName=Attrition
|
||||
machinesToKill=10
|
||||
machinesToLeave=3
|
||||
reboot=true
|
||||
testDuration=90.0
|
||||
|
||||
; Disable buggify for parallel restore
|
||||
;buggify=on
|
||||
|
|
Loading…
Reference in New Issue