diff --git a/conf/broker.conf b/conf/broker.conf index c117596445dd2..c69ae50f80155 100644 --- a/conf/broker.conf +++ b/conf/broker.conf @@ -1360,6 +1360,11 @@ managedLedgerInfoCompressionThresholdInBytes=16384 # corrupted at bookkeeper and managed-cursor is stuck at that ledger. autoSkipNonRecoverableData=false +# Whether to allow brokers to forcefully load topics by skipping ledger failures to avoid topic unavailability and +# perform auto repairs of the topics. +# It's worth noting that enabling this option means permanently losing data +managedLedgerForceRecovery=false + # Whether to recover cursors lazily when trying to recover a managed ledger backing a persistent topic. # It can improve write availability of topics. # The caveat is now when recovered ledger is ready to write we're not sure if all old consumers last mark diff --git a/conf/standalone.conf b/conf/standalone.conf index 1797728984629..29514b06e809d 100644 --- a/conf/standalone.conf +++ b/conf/standalone.conf @@ -886,6 +886,11 @@ managedLedgerInfoCompressionThresholdInBytes=16384 # corrupted at bookkeeper and managed-cursor is stuck at that ledger. autoSkipNonRecoverableData=false +# Whether to allow brokers to forcefully load topics by skipping ledger failures to avoid topic unavailability and +# perform auto repairs of the topics. +# It's worth noting that enabling this option means permanently losing data +managedLedgerForceRecovery=false + # operation timeout while updating managed-ledger metadata. managedLedgerMetadataOperationsTimeoutSeconds=60