Search code examples
synchronizationhyperledger-fabrichyperledgerblockpeer

Hyperledger Fabric 1.4.9 new peer syncing with more than 500k Block Height


I have a question in Hyperledger Fabric network with 2-Orgs and 1 peer each and my block height is 500k and now I want to add another new peer for my Org1. Now my question is, if I add a new peer and make that new peer as anchor peer for Or1, any issues will be there for transactions during the blocks syncing with the new peer.

I'm using Fabric version 1.4.9


Solution

  • I have followed the below steps and it worked:

    • Created a new Peer and added it to the channel for syncing the Blocks.
    • Once the sync is completed, verify the Block height in peer logs.
    • Add the new Peer to Anchor peers.
    • Install chaincode on the new peer.
    • Update the connection Profile.
    • Invoke a couple of transactions from the client application and verify the transactions.

    The above steps resolve my issue which I have logged in my question above.