mirror of
https://github.com/corda/corda.git
synced 2024-12-24 07:06:44 +00:00
ENT-11036 Additional parameter to enable recovery of IN_FLIGHT transactions (post ledger peer recovery) (#7546)
This commit is contained in:
parent
be515abd08
commit
e52f086d11
@ -37,12 +37,14 @@ data class LedgerRecoveryParameters(
|
|||||||
val dryRun: Boolean = false,
|
val dryRun: Boolean = false,
|
||||||
val useTimeWindowNarrowing: Boolean = true,
|
val useTimeWindowNarrowing: Boolean = true,
|
||||||
val verboseLogging: Boolean = false,
|
val verboseLogging: Boolean = false,
|
||||||
val recoveryBatchSize: Int = 1000
|
val recoveryBatchSize: Int = 1000,
|
||||||
|
val alsoFinalize: Boolean = false
|
||||||
)
|
)
|
||||||
|
|
||||||
@CordaSerializable
|
@CordaSerializable
|
||||||
data class LedgerRecoveryResult(
|
data class LedgerRecoveryResult(
|
||||||
val totalRecoveredRecords: Long,
|
val totalRecoveredRecords: Long,
|
||||||
val totalRecoveredTransactions: Long,
|
val totalRecoveredTransactions: Long,
|
||||||
|
val totalRecoveredInFlightTransactions: Long,
|
||||||
val totalErrors: Long
|
val totalErrors: Long
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user