Skip to content

Commit 5d82acc

Browse files
authored
compose, validator: Fix restoration from dump (#387)
1 parent a10fd2c commit 5d82acc

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

apps/app/src/test/scala/org/lfdecentralizedtrust/splice/integration/tests/DockerComposeValidatorFrontendIntegrationTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class DockerComposeValidatorFrontendIntegrationTest
191191
"recovering from identities dump",
192192
Seq(
193193
"-i",
194-
backupsDir.toAbsolutePath.toString,
194+
identities.toAbsolutePath.toString,
195195
"-P",
196196
"da-composeValidator-13",
197197
),

cluster/compose/validator/compose-restore-from-id.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ services:
1212
ADDITIONAL_CONFIG_MIGRATE_VALIDATOR_PARTY=
1313
canton.validator-apps.validator_backend.migrate-validator-party.scan.admin-api.url = "${SCAN_ADDRESS}"
1414
volumes:
15-
- ${VALIDATOR_PARTICIPANT_IDENTITIES_DUMP}:/participant-bootstrapping-dump
15+
- ${VALIDATOR_PARTICIPANT_IDENTITIES_DUMP}:/participant-bootstrapping-dump/identities.json

docs/src/release_notes.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ Upcoming
3232

3333
- Fix an issue where the mediator sometimes got stuck after initialization and required a restart to recover.
3434

35+
- Validator
36+
37+
- docker-compose, breaking: Restoration from identities dump requires to
38+
specify path to `identities.json` and not directory containing it. This is
39+
consistent with the :ref:`documented
40+
<validator_disaster_recovery-docker-compose-deployment>` behavior. See
41+
`#387 <https://github.com/hyperledger-labs/splice/pull/387>`_
42+
3543
0.4.1
3644
-----
3745

docs/src/validator_operator/validator_disaster_recovery.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ While doing so, please note the following:
107107
:start-after: PARTICIPANT_BOOTSTRAP_MIGRATE_TO_NEW_PARTICIPANT_START
108108
:end-before: PARTICIPANT_BOOTSTRAP_MIGRATE_TO_NEW_PARTICIPANT_END
109109

110+
.. _validator_disaster_recovery-docker-compose-deployment:
111+
110112
Docker-Compose Deployment
111113
^^^^^^^^^^^^^^^^^^^^^^^^^
112114

0 commit comments

Comments
 (0)