Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Job for new peers to join channels with the help of ledger snapshots #9

Open
runitmisra opened this issue Nov 28, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@runitmisra
Copy link
Contributor

If administrators decide to add new peers to established channels, it can take a long time for a peer to catch up to the current ledger height and build the ledger from world state. To make this process easier, we can use Snapshots to capture the minimum required data for the peer to join the channel without it having to do the long process of building the ledger from world state.

Detailed info of this feature can be found here: https://hyperledger-fabric.readthedocs.io/en/latest/peer_ledger_snapshot.html

Create a Job that can take a snapshot of the existing ledger in a channel and can add a peer to the channel using that snapshot (This can be a separate job)

@tittuvarghese tittuvarghese added the enhancement New feature or request label Nov 29, 2023
@tittuvarghese
Copy link
Member

tittuvarghese commented Nov 29, 2023

Need to do the following,

  1. Job to take snapshot and store.
  2. Support for snapshot path and flags to join to the channel from snapshot. (Change in existing join channel job)
  3. Cleanup policy to maintain only Last N snapshots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants