-
Notifications
You must be signed in to change notification settings - Fork 48
DR docs command correction and clarification #2680
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
Open
tarikBensalem-DA
wants to merge
3
commits into
hyperledger-labs:main
Choose a base branch
from
tarikBensalem-DA:docsClarification
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+16
−1
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -226,7 +226,7 @@ of at least one of the parties hosted on your node. To address this, you can usu | |
| .. code:: | ||
|
|
||
| val syncId = participant.synchronizers.list_connected().head.synchronizerId | ||
| participant.topology.party_to_participant_mappings.list(syncId, filterNamespace = <namespace>) | ||
| participant.topology.party_to_participant_mappings.list(syncId, filterParticipant = <namespace>) | ||
|
|
||
| If all parties are on the same node, proceed to the next step. If some are on the old node and some are on the new node, migrate the ones on the old node to the new node by opening a console to the new node and running the following command | ||
| (adjust the parameters as required for your parties): | ||
|
|
@@ -236,6 +236,21 @@ of at least one of the parties hosted on your node. To address this, you can usu | |
| val participantId = participant.id // ID of the new participant | ||
| participant.topology.party_to_participant_mappings.propose(<party-id>, Seq((participantId, <participant-permission>)), store = syncId) | ||
|
|
||
| The available options for <participant-permission> are ``Submission``, ``Confirmation``, and ``Observation``. These must be prefixed by ``ParticipantPermission.``. | ||
|
|
||
| You can list all parties that are currently on the old node by running: | ||
|
|
||
| .. code:: | ||
|
|
||
| val parties = participant.parties.list (<participantIdentifier>) | ||
|
|
||
| You can assign a party to a variable using the following command, where <index> is the zero-based position of the party in the list: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suggest we remove this. They need to have separate consoles open (one for the old participant, one for the new), so I don't know if writing to a variable will really be of help to anyone... |
||
|
|
||
| .. code:: | ||
|
|
||
| val partyId = parties(<index>).party | ||
|
|
||
|
|
||
| 2. If your parties are still on the original node that you took identities backup from, you can use your existing backup. | ||
| If your parties have been migrated to the new node already, take a new identities dump from the new node. | ||
| If the new node is in a state where you cannot take a fresh dump, use the old dump but edit the ``id`` field to the participant ID of the new node. | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.