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 snapshots to peer deploy checklist #2109

Merged
merged 1 commit into from
Nov 11, 2020

Conversation

joealewine
Copy link

Change-Id: If4f87761b9af1ea2941cc23dd0266f7f52512315
Signed-off-by: joe-alewine Joe.Alewine@ibm.com

Type of change

  • Documentation update

Description

Add snapshot parameter to peer deployment guide. Specifically, the "checklist" documenting parameters in core.yaml.

rootDir: /var/hyperledger/production/snapshots
```

- **`ledger.snapshots.rootDir:`** (Default value should be overridden.) This is the path to where snapshots are stored on the local filesystem of the peer. It can be an absolute path or relative to `FABRIC_CFG_PATH` and defaults to `/var/hyperledger/production/snapshots`, further organized by the status, channel name, and block number of the snapshot. For example, `{ledger.snapshots.rootDir}/completed/{channelName}/{lastBlockNumberInSnapshot}`. The user running the peer needs to own and have write access to this directory.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

further organized by the status, channel name, and block number of the snapshot. For example, `{ledger.snapshots.rootDir}/completed/{channelName}/{lastBlockNumberInSnapshot}.

I don't think that this portion makes sense at this level. However, if you want to keep this, then it's better to clarify that user does not have to configure anything for this. Also, there is no other status as such. So, I would rewrite this as - Peer node generates the snapshot for a channel at a specific block number under in a directory {ledger.snapshots.rootDir}/completed/{channelName}/{lastBlockNumberInSnapshot}

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Change-Id: If4f87761b9af1ea2941cc23dd0266f7f52512315
Signed-off-by: joe-alewine <Joe.Alewine@ibm.com>
@manish-sethi manish-sethi merged commit b9a8338 into hyperledger:master Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants