0 votes
1 view
in Blockchain by (11.8k points)

How can adding a new orderer download the ledger as ordering nodes are not connected with each other and Kafka keeps messages only for 7 days.

And also if I shut down an orderer node for more than 7 days and if I bring it up again then it will not find the transactions that happened in those 7 days in Kafka partition, therefore, how will it sync and update it's a local ledger.

1 Answer

0 votes
by (27.7k points)

In 1.0, Kafka brokers are to be set with log.retention.ms = -1

doing this disables time-based retention and prevents segments from expiring. This means that:
A partition hosts the entire transaction history of the channel.
A new orderer service node (OSN) can be added at any point in time and use the Kafka brokers to sync up with all channels in their entirety.

hope this helps

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...