momo-jun commented on code in PR #16917: URL: https://github.com/apache/pulsar/pull/16917#discussion_r963314669
########## conf/broker.conf: ########## @@ -1497,12 +1497,22 @@ transactionCoordinatorEnabled=false transactionMetadataStoreProviderClassName=org.apache.pulsar.transaction.coordinator.impl.MLTransactionMetadataStoreProvider # Transaction buffer takes a snapshot after the number of transaction operations reaches this value. +# If transaction buffer enables snapshot segment, transaction buffer updates snapshot metadata +# after the number of transaction operations reaches this value. transactionBufferSnapshotMaxTransactionCount=1000 -# Transaction buffer take snapshot interval time +# Transaction buffer take snapshot interval time. +# If transaction buffer enables snapshot segment, this is transaction updating snapshot metadata internal time. # Unit : millisecond transactionBufferSnapshotMinTimeInMillis=5000 +# Whether to enable segmented transaction buffer snapshot which is able to handle a large number of aborted transactions. +transactionBufferSegmentedSnapshotEnabled = false + +# Transaction buffer will stored the transaction ID of the aborted transaction, and take snapshot for it. Review Comment: ```suggestion # Transaction buffer stores the transaction ID of aborted transactions and takes snapshots. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
