Recovering a participant node from a lost synchronizer, rehydrating a participant node, and unblocking a participant node synchronizer connection
Choose one of the following repair procedures based on the type of participant node fault in need of repair.
Repairing participant nodes is dangerous and complex. Therefore, you are discouraged from attempting to repair participant nodes on your own unless you have expert knowledge and experience. Instead, you are strongly advised to only repair participant nodes with the help of technical support.
Repair commands are disabled by default. See Enabling repair commands in the Advanced Operations page.
Recovering from a lost synchronizer
If a synchronizer is irreparably lost or no longer trusted, the participant nodes previously connected to and sharing active contracts via that synchronizer can recover and migrate their contracts to a new synchronizer. The participant node administrators need to coordinate as follows:
Disconnect all participant nodes from the synchronizer deemed lost or untrusted.
Identify the synchronizer configuration of the newly provisioned synchronizer.
All participant node administrators invoke the migrate_synchronizer method specifying the alias of the “old” synchronizer as “source” and the “new” synchronizer. Additionally, set the “force” flag to true given that the old synchronizer is either lost or untrusted in this scenario.
The participant nodes connect to the new synchronizer.
The synchronizer loss may have resulted in active contract set inconsistencies. In such cases the participant node administrators need to agree on whether contracts in an inconsistent state on the different participant nodes should be removed or added. Refer to Troubleshoot ACS Commitments to identify and repair ACS differences.As these methods are powerful but dangerous, you should not attempt to repair your participant nodes on your own as you risk severe data corruption, but rather in the context of technical support.
Fully rehydrating a participant node
Fully rehydrating a participant node means recovering the participant node after its database has been fully emptied or lost. If a participant node needs to be rehydrated, but no participant node backup is available or the backup is faulty, you may be able to rehydrate the participant node from a synchronizer as long as the synchronizer has never been pruned, and you have local console access to the participant node. You can preserve the participant node’s identity and secret keys.If you are running your production participant node in a container, you need to create a new configuration file that allows you to access the database of the participant node from an interactive console.
Make sure that the participant node process is stopped and that nothing else is accessing the same database.
Ensure that database replication is turned on if the participant node has been configured for high availability.
Also, make sure that the participant node is configured to not perform auto-initialization to prevent creating a new identity.
Downloading the identity exports the node’s private keys, which is only allowed when key downloads are enabled.For Splice 0.10.0 onwards:
Then start Canton interactively using the --manual-start option to prevent Canton from automatically starting the nodes and reconnecting them to the synchronizers:
./bin/canton -c myconfig --manual-start
Then, download the identity state of the participant node to a directory on the machine you are running the process. protocolVersion is the protocol version of the synchronizer:
This stores the topology state, the identity, and the secret keys on the disk in the specified directory. Participant nodes using a Key Management System are not supported: the download fails because KMS-held private keys cannot be exported.The dars.download command is a convenience command to download all Daml archive files (DARs) that have been added to the participant via the console command participant.dars.upload. DARs that were uploaded through the Ledger API need to be manually re-uploaded to the new participant node.After downloading, stop the participant node, back up the database, and then truncate the database. Then, restart the participant node and upload the data again. staticSynchronizerParameters are the static parameters of the synchronizer:
Note that this replays all transactions from the synchronizer. However, command deduplication is only fully functional once the participant node catches up with the synchronizer. Therefore, you need to ensure that applications relying on command deduplication do not submit commands during recovery.
Unblocking a participant node synchronizer connection
If a participant node is unable to process events from a synchronizer, and the participant node process continuously crashes when reconnecting to the synchronizer, it may be necessary to “ignore” the problematic event. This procedure describes how to unblock the participant node.
Ensure that the cause is not a more common issue such as lack of database connectivity. Only proceed with the following steps if the participant node logs rule out more common issues. Inspect the participant node logs for “internal” errors referring to the synchronizer ID. If the logs show an ApplicationHandlerException, note the first and last “sequencing timestamps”.
Disconnect the participant node from the synchronizer whose events you want to ignore, and restart the participant node after enabling the repair commands and internal state inspection.
Make sure that the participant node is disconnected from the synchronizer.
Determine the “sequencer counters” to ignore.
If in step 1 you identified the first and last sequencing timestamps, translate the timestamps to first and last sequencer counters:
import com.digitalasset.canton.store.SequencedEventStore.ByTimestampval sequencedEvent = participant.testing.state_inspection .findMessage(physicalSynchronizerId, ByTimestamp(sequencedEventTimestamp)) .getOrElse(throw new Exception("Sequenced event not found"))val sequencerCounter = sequencedEvent.counter
Otherwise you may choose to ignore the last event that the participant node has processed from the synchronizer and look up the sequencer counter as follows:
import com.digitalasset.canton.store.SequencedEventStore.SearchCriterionval lastSequencedEvent = participant.testing.state_inspection .findMessage(physicalSynchronizerId, SearchCriterion.Latest) .getOrElse(throw new Exception("Sequenced event not found"))val lastCounter = lastSequencedEvent.counter
Use the repair.ignore_events command to ignore the sequenced events that the participant node is unable to process. The command takes the physical synchronizer ID and the first and last sequencer counters of the events to ignore as parameters, fromInclusive and toInclusive, determined in step 3. You should not set the force flag.
participant.repair.ignore_events( physicalSynchronizerId, fromInclusive, toInclusive, force = false,)
If you find that you have made a mistake and chose the wrong sequencer counters, you can invoke repair.unignore_events to “unignore” the events:
participant.repair.unignore_events( physicalSynchronizerId, fromInclusive, toInclusive, force = false,)
Next, reconnect the participant node to the synchronizer and check that the participant node is able to process sequenced events again. If the participant node is still blocked, you may need to repeat the previous steps.
Once the participant node is unblocked consuming events from the synchronizer, participant nodes may have an inconsistent ACS. Look for errors in the log that begin with “ACS_COMMITMENT”, for example “ACS_COMMITMENT_MISMATCH”. Inspect not only the repaired participant node, but also the other participant nodes that were also involved in the transactions behind the ignored events.
Disable repair commands and internal state inspection by removing the configurations added in step 2 and restarting the participant node. This is important to prevent accidental misuse of the repair commands in the future.
As the above steps are powerful but dangerous, you should perform the procedure in the context of technical support.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Canton Network Docs","colors":{"primary":"#734BE2","light":"#A985FF","dark":"#7B59E8"},"logo":{"light":"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-dark.svg?fit=max\u0026auto=format\u0026n=OOy41G-b8QJx6Gkr\u0026q=85\u0026s=d5d59c10fc4ca9be021afb188db72e2f","dark":"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-white.svg?fit=max\u0026auto=format\u0026n=OOy41G-b8QJx6Gkr\u0026q=85\u0026s=820871bab1b1be90578959e03e4a3001","href":"/"},"favicon":"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-dark.svg?fit=max\u0026auto=format\u0026n=OOy41G-b8QJx6Gkr\u0026q=85\u0026s=d5d59c10fc4ca9be021afb188db72e2f","appearance":{"default":"system"},"footer":{"socials":{"x":"https://x.com/CantonNetwork","github":"https://github.com/canton-network","linkedin":"https://www.linkedin.com/company/canton-network","discord":"https://discord.gg/canton","telegram":"https://t.me/CantonNetwork1"},"links":[{"header":"Legal","items":[{"label":"Documentation License (CC-BY-4.0)","href":"https://creativecommons.org/licenses/by/4.0"},{"label":"Code License (Apache-2.0)","href":"https://www.apache.org/licenses/LICENSE-2.0"}]}]},"fonts":{"heading":{"family":"Inter","weight":700},"body":{"family":"Inter","weight":400}},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":true},"integrations":{"ga4":{"measurementId":"G-F2G1L137JX"},"cookies":{}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"instructions":"If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md."},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cantonfoundation","hasAudioNarration":false,"actualSubdomain":"cantonfoundation","customDomains":["docs.canton.network"],"gitSource":{"type":"github","owner":"canton-network","repo":"cf-docs","deployBranch":"main","contentDirectory":"docs-main","isPrivate":false,"mountPath":"","label":""},"feedback":{"contextualFeedback":{"allowEmail":true},"edits":true,"issues":true,"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0ea6118007c388aa2daf7a","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"API Reference","count":1006},{"language":"default","tag":"Packages","count":503},{"language":"default","tag":"Ledger API","count":449},{"language":"default","tag":"Services","count":283},{"language":"default","tag":"Splice APIs","count":272},{"language":"default","tag":"gRPC API","count":234},{"language":"default","tag":"Java Bindings","count":196},{"language":"default","tag":"Admin API","count":157},{"language":"default","tag":"com.daml.ledger.javaapi.data","count":151},{"language":"default","tag":"Release Notes","count":130}],"searchSettings":{"isFiltersEnabled":false,"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"type":"link","url":"https://forum.canton.network/"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":":root{--canton-highlight: #734BE2;--canton-highlight-rgb: 115, 75, 226;--canton-selected-bg: rgba(115, 75, 226, 0.10);--canton-hover-bg: rgba(115, 75, 226, 0.05);--canton-inline-highlight-bg: rgba(115, 75, 226, 0.14);--canton-inline-highlight-border: rgba(115, 75, 226, 0.26);--canton-product-selector-line: rgba(115, 75, 226, 0.70);--canton-product-selector-line-active: #734BE2;--canton-product-selector-divider: rgba(75, 85, 99, 0.16);--x2mdx-ref-canvas: #F6F8FB;--x2mdx-ref-sidebar: #FBFCFD;--x2mdx-ref-surface: #FFFFFF;--x2mdx-ref-text-strong: #11131A;--x2mdx-ref-text: #252937;--x2mdx-ref-text-muted: #6B7280;--x2mdx-ref-border: rgba(17, 19, 26, 0.08);--x2mdx-ref-accent-soft: #F3EEFF;--x2mdx-ref-neutral-soft: #F4F5F7;--x2mdx-ref-info: #1D4ED8;--x2mdx-ref-info-soft: #EDF5FF;--x2mdx-ref-success: #15803D;--x2mdx-ref-success-soft: #ECFBF0;--x2mdx-ref-danger: #B91C1C;--x2mdx-ref-danger-soft: #FFF1F1;--x2mdx-ref-warning: #B16305;--x2mdx-ref-warning-soft: #FFF8E4;--canton-font-family: 'Inter', system-ui, -apple-system, sans-serif}[data-theme=\"dark\"],:root.dark{--canton-highlight: #A985FF;--canton-highlight-rgb: 169, 133, 255;--canton-selected-bg: rgba(169, 133, 255, 0.25);--canton-hover-bg: rgba(169, 133, 255, 0.05);--canton-inline-highlight-bg: rgba(169, 133, 255, 0.22);--canton-inline-highlight-border: rgba(169, 133, 255, 0.34);--canton-product-selector-line: rgba(169, 133, 255, 0.70);--canton-product-selector-line-active: #A985FF;--canton-product-selector-divider: rgba(255, 255, 255, 0.10);--x2mdx-ref-canvas: #111115;--x2mdx-ref-sidebar: #111115;--x2mdx-ref-surface: rgba(17, 24, 39, 0.78);--x2mdx-ref-text-strong: #F3F4F6;--x2mdx-ref-text: #E5E7EB;--x2mdx-ref-text-muted: #D1D5DB;--x2mdx-ref-border: rgba(255, 255, 255, 0.08);--x2mdx-ref-accent-soft: rgba(169, 133, 255, 0.16);--x2mdx-ref-neutral-soft: rgba(156, 163, 175, 0.12);--x2mdx-ref-info: #93C5FD;--x2mdx-ref-info-soft: rgba(29, 78, 216, 0.22);--x2mdx-ref-success: #86EFAC;--x2mdx-ref-success-soft: rgba(21, 128, 61, 0.22);--x2mdx-ref-danger: #FCA5A5;--x2mdx-ref-danger-soft: rgba(185, 28, 28, 0.22);--x2mdx-ref-warning: #FCD34D;--x2mdx-ref-warning-soft: rgba(177, 99, 5, 0.22)}::selection{background-color:var(--canton-selected-bg);color:inherit}::-moz-selection{background-color:var(--canton-selected-bg);color:inherit}mark{background-color:var(--canton-inline-highlight-bg);color:inherit;border-radius:0.25rem;box-shadow:inset 0 0 0 1px var(--canton-inline-highlight-border);padding:0.08em 0.18em}[class*=\"sidebar\"] a:hover,nav a:hover{background-color:var(--canton-hover-bg)}#navigation-items .sidebar-group-header{margin-bottom:0.25rem;line-height:1.25}#navigation-items .sidebar-group li a,#navigation-items .sidebar-group li button{padding-top:0.25rem;padding-bottom:0.25rem;line-height:1.5}:root a[class*=\"bg-primary\"],:root a.text-primary{background-color:rgba(115, 75, 226, 0.08)!important;color:#734BE2!important}[data-theme=\"dark\"] a[class*=\"bg-primary\"],[data-theme=\"dark\"] a.text-primary{background-color:rgba(169, 133, 255, 0.10)!important;color:#A985FF!important}.nav-dropdown-products-selector-trigger{box-shadow:inset 0 0 0 1.5px var(--canton-product-selector-line)!important}.nav-dropdown-products-selector-trigger:hover,.nav-dropdown-products-selector-trigger[aria-expanded=\"true\"]{background-color:var(--canton-hover-bg)!important;box-shadow:inset 0 0 0 2px var(--canton-product-selector-line-active)!important}.nav-dropdown-products-selector-content>a[href=\"/api-reference\"]{border-top:1px solid var(--canton-product-selector-divider);box-sizing:border-box;margin-top:0.35rem;padding-top:0.35rem;width:100%}[class*=\"toc\"] a[class*=\"active\"],[class*=\"toc\"] a[aria-current],[class*=\"TableOfContents\"] a[class*=\"active\"],[class*=\"tableofcontents\"] a[class*=\"active\"],aside[class*=\"right\"] a[class*=\"active\"],[class*=\"on-this-page\"] a[class*=\"active\"]{background-color:transparent!important;color:var(--canton-highlight)!important;font-weight:500}[class*=\"toc\"] a:not([class*=\"active\"]),[class*=\"TableOfContents\"] a:not([class*=\"active\"]),[class*=\"tableofcontents\"] a:not([class*=\"active\"]),aside[class*=\"right\"] a:not([class*=\"active\"]),[class*=\"on-this-page\"] a:not([class*=\"active\"]){background-color:transparent!important}[class*=\"toc\"] a:hover,[class*=\"TableOfContents\"] a:hover,[class*=\"tableofcontents\"] a:hover,aside[class*=\"right\"] a:hover,[class*=\"on-this-page\"] a:hover{background-color:transparent!important;color:var(--canton-highlight)!important}#footer.advanced-footer>div{gap:1.25rem!important;padding-top:2rem!important;padding-bottom:2rem!important}@media (max-width: 767px){#footer.advanced-footer>div{gap:1rem!important;padding-top:1.5rem!important;padding-bottom:1.5rem!important}}a:not([class]){color:var(--canton-highlight)}.prose strong,.prose b,strong,b{font-weight:600!important}:root.dark .prose strong,:root.dark .prose b,[data-theme=\"dark\"] .prose strong,[data-theme=\"dark\"] .prose b,:root.dark strong,:root.dark b,[data-theme=\"dark\"] strong,[data-theme=\"dark\"] b{font-weight:400!important}a:not([class]):hover{color:var(--canton-highlight);opacity:0.8}:not(pre)>code{background-color:rgba(115, 75, 226, 0.10);border-radius:4px;padding:0.125em 0.25em}:root.dark :not(pre)>code,[data-theme=\"dark\"] :not(pre)>code{background-color:rgba(169, 133, 255, 0.20)}pre code::selection,pre code::-moz-selection{background-color:var(--canton-selected-bg)}[class*=\"card\"]:hover{border-color:var(--canton-highlight)}button[class*=\"bg-primary\"],a[class*=\"bg-primary\"]:not([class~=\"card\"]){background-color:var(--canton-highlight)}button[class*=\"bg-primary\"]:hover,a[class*=\"bg-primary\"]:not([class~=\"card\"]):hover{opacity:0.9}table tbody tr:hover{background-color:var(--canton-hover-bg)}[data-component=\"network-variables\"] [role=\"tablist\"]{gap:0.35rem!important;padding:0.35rem!important}[data-component=\"network-variables\"] [role=\"tab\"]{border:1px solid transparent!important;border-radius:0.5rem!important}[data-component=\"network-variables\"] [role=\"tab\"][aria-selected=\"false\"]{border-color:var(--canton-product-selector-divider)!important}[data-component=\"network-variables\"] [role=\"tab\"][aria-selected=\"true\"]{border-color:var(--canton-highlight)!important;box-shadow:inset 0 0 0 1px var(--canton-highlight)!important;color:var(--canton-highlight)!important}table:has(pre){display:block;overflow-x:visible}table:has(pre)>colgroup{display:none}table:has(pre)>tbody,table:has(pre)>thead{display:block}table:has(pre)>tbody>tr,table:has(pre)>thead>tr{display:block}table:has(pre) td,table:has(pre) th{display:block;width:100%!important;max-width:100%}table:has(pre) td>pre,table:has(pre) th>pre{max-width:100%;overflow-x:auto}[data-component-part=\"search-item\"][data-highlighted]{background-color:var(--canton-inline-highlight-bg);color:inherit}[data-component-part=\"search-item-content\"]{white-space:normal;overflow:visible;text-overflow:unset}[data-component-part=\"search-item-breadcrumbs\"]{font-size:10px;line-height:1.25}[data-component-part=\"search-item-breadcrumbs\"] svg{stroke-width:4}[data-component-part=\"search-item-breadcrumbs\"] svg path{stroke-width:4}:focus-visible{outline:2px solid var(--canton-highlight);outline-offset:2px}::-webkit-scrollbar-thumb:hover{background-color:var(--canton-highlight)}[data-theme=\"dark\"]{--canton-text-primary: #F5F5F5;--canton-text-secondary: #B0B0B0}button[aria-haspopup=\"menu\"]:not(.nav-dropdown-trigger):not(#page-context-menu *){background-color:transparent!important;border:1px solid rgba(209, 213, 219, 0.7)!important;border-radius:0.85rem!important;padding:0.375rem 0.875rem!important}button[aria-haspopup=\"menu\"]:not(.nav-dropdown-trigger):not(#page-context-menu *):hover{background-color:rgba(75, 85, 99, 0.05)!important}[data-theme=\"dark\"] button[aria-haspopup=\"menu\"]:not(.nav-dropdown-trigger):not(#page-context-menu *){border-color:rgba(255, 255, 255, 0.07)!important}button[aria-haspopup=\"menu\"]:not(.nav-dropdown-trigger):not(#page-context-menu *) svg{color:rgb(156, 163, 175)!important;stroke:rgb(156, 163, 175)!important}button[aria-haspopup=\"menu\"]:not(.nav-dropdown-trigger):not(#page-context-menu *):hover svg{color:rgb(75, 85, 99)!important;stroke:rgb(75, 85, 99)!important}[data-theme=\"dark\"] button[aria-haspopup=\"menu\"]:not(.nav-dropdown-trigger):not(#page-context-menu *) svg{color:rgb(75, 85, 99)!important;stroke:rgb(75, 85, 99)!important}[data-theme=\"dark\"] button[aria-haspopup=\"menu\"]:not(.nav-dropdown-trigger):not(#page-context-menu *):hover svg{color:rgb(156, 163, 175)!important;stroke:rgb(156, 163, 175)!important}.mermaid{--mermaid-primary-color: var(--canton-highlight)}div.group.relative.overflow-hidden:has(svg)>div.absolute.bottom-2.right-2{opacity:0.1;transition:opacity 200ms ease-in-out}div.group.relative.overflow-hidden:has(svg):hover>div.absolute.bottom-2.right-2,div.group.relative.overflow-hidden:has(svg):focus-within>div.absolute.bottom-2.right-2{opacity:1}div.todo{display:none}body:has(.x2mdx-ref-page):not(:has(.x2mdx-ref-page--manual-api)) #background-color{background-color:var(--x2mdx-ref-canvas)!important}body:has(.x2mdx-ref-page):not(:has(.x2mdx-ref-page--manual-api)) #navbar{border-bottom:1px solid var(--x2mdx-ref-border);background-color:var(--x2mdx-ref-surface)}body:has(.x2mdx-ref-page):not(:has(.x2mdx-ref-page--manual-api)) #sidebar{background-color:var(--x2mdx-ref-sidebar)}body:has(.x2mdx-ref-page):not(:has(.x2mdx-ref-page--manual-api)) #content-container{color:var(--x2mdx-ref-text-muted)}body:has(.x2mdx-ref-page):not(:has(.x2mdx-ref-page--manual-api)) #content-container :is(h1,h2,h3,h4,h5,h6){color:var(--x2mdx-ref-text-strong)}.x2mdx-ref-back{margin:0 0 0.75rem;font-size:0.9rem}.x2mdx-ref-back a{color:var(--canton-highlight);text-decoration:none}.x2mdx-ref-hero{display:grid;min-width:0;max-width:100%;gap:0.75rem;margin:0 0 1.4rem}.x2mdx-ref-hero>*{min-width:0;max-width:100%;overflow-wrap:anywhere}#content-container:has(.x2mdx-ref-page):not(:has(.x2mdx-ref-page--manual-api)) #page-title{display:none!important}#content-container:has(.x2mdx-ref-page) #header>.mt-2.text-lg.prose{display:none!important}.x2mdx-ref-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;margin:0 0 0.75rem;color:var(--x2mdx-ref-text-muted);font-size:0.9rem;line-height:1.35}.x2mdx-ref-breadcrumbs a{color:var(--canton-highlight);text-decoration:none}.x2mdx-ref-breadcrumbs a:hover{text-decoration:underline}.x2mdx-ref-breadcrumb-separator{color:rgb(156, 163, 175)}.x2mdx-ref-eyebrow{min-width:0;max-width:100%;margin:0;overflow-wrap:anywhere;font-size:0.78rem;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:var(--x2mdx-ref-text-muted)}:root.dark .x2mdx-ref-eyebrow,[data-theme=\"dark\"] .x2mdx-ref-eyebrow{color:rgb(156, 163, 175)}.x2mdx-ref-title{min-width:0;max-width:100%;margin:0;overflow-wrap:anywhere;color:var(--x2mdx-ref-text-strong);font-size:clamp(2rem, 3vw, 2.7rem);line-height:1.05}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-title{max-width:100%;overflow:hidden;font-size:clamp(1.7rem, 2.2vw, 2.25rem);line-height:1.08;text-overflow:ellipsis;white-space:nowrap;word-break:normal;overflow-wrap:normal}#content-container:has(.x2mdx-ref-page--manual-api) .x2mdx-ref-title{overflow:visible;text-overflow:clip;white-space:normal}#content-container:has(.x2mdx-ref-page--manual-api) #page-title{font-size:2.25rem!important;font-weight:600!important;line-height:2.5rem!important}#content-container:has(.x2mdx-ref-page--manual-api) .mdx-content h2{margin-top:1.8rem!important;margin-bottom:0!important;font-size:1.125rem!important;font-weight:600!important;line-height:1.6875rem!important}@media (max-width: 1023px){#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-title{white-space:normal;overflow:visible;text-overflow:clip}}@media (max-width: 639px){#content-container:has(.x2mdx-ref-page--manual-api) #page-title{font-size:1.875rem!important;line-height:2.25rem!important}body:has(.x2mdx-ref-page) .breadcrumb-list{min-width:0;max-width:100%;flex-wrap:wrap}body:has(.x2mdx-ref-page) .breadcrumb-item,body:has(.x2mdx-ref-page) .breadcrumb-item a{min-width:0;max-width:100%;overflow-wrap:anywhere}body:has(.x2mdx-ref-page) .mdx-content>div.table{display:block!important;box-sizing:border-box;width:100%!important;max-width:100%!important;overflow-x:auto}#content-container:has(.x2mdx-ref-page) #pagination{align-items:stretch;flex-direction:column;gap:0.75rem;min-width:0;max-width:100%}#content-container:has(.x2mdx-ref-page) #pagination>a{width:100%;min-width:0;max-width:100%;margin-left:0!important}#content-container:has(.x2mdx-ref-page) #pagination>a span{min-width:0;overflow-wrap:anywhere}}.x2mdx-ref-summary{margin:0;max-width:58rem;color:var(--x2mdx-ref-text-muted);font-size:1.02rem}#content-container:has(.x2mdx-ref-page--manual-api) #content-area #header>div:has(>p){display:block!important}body:has(.x2mdx-ref-page--manual-api):has(#header p) .x2mdx-ref-page--manual-api+.x2mdx-ref-hero .x2mdx-ref-summary{display:none}.x2mdx-ref-api-header-badges{margin-top:0.75rem}body:has(#x2mdx-ref-api-header-badges) .x2mdx-ref-page--manual-api+.x2mdx-ref-hero .x2mdx-ref-badges{display:none}:root.dark .x2mdx-ref-summary,[data-theme=\"dark\"] .x2mdx-ref-summary{color:rgb(209, 213, 219)}.x2mdx-ref-page--operation{display:none}#content-container:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)){max-width:92rem!important}body:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) #table-of-contents-content,body:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) #content-side-layout,body:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) #table-of-contents-layout,body:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) #table-of-contents,body:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) aside:has(#table-of-contents-content),body:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) [aria-label=\"Table of contents\"]{display:none!important}#content-container:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) #content-area{width:100%!important}.x2mdx-ref-operation-shell{display:grid;grid-template-columns:minmax(0, 1fr) minmax(22rem, 26rem);gap:clamp(2rem, 4vw, 4rem);align-items:start;width:100%}.x2mdx-ref-operation-main{min-width:0}.x2mdx-ref-operation-shell:not(:has(.x2mdx-ref-right-rail)){grid-template-columns:minmax(0, 1fr)}.x2mdx-ref-right-rail{display:grid;position:sticky;top:6rem;z-index:1;width:100%;margin:0;gap:1rem}.x2mdx-ref-rail-panel{min-width:0}@media (max-width: 1180px){.x2mdx-ref-operation-shell{grid-template-columns:minmax(0, 1fr)}.x2mdx-ref-right-rail{position:static;width:100%;margin:0 0 2rem}}.x2mdx-ref-rail-code :is(.code-group,[class*=\"code-group\"]){margin:0}.x2mdx-ref-rail-code{display:grid;gap:0.65rem;min-width:0}.x2mdx-ref-rail-head{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;min-width:0}.x2mdx-ref-rail-heading{min-width:0;max-width:13rem;overflow:hidden;color:rgb(31, 41, 55);font-family:ui-monospace, SFMono-Regular, SFMono-RegularFallback, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;font-size:0.82rem;font-weight:500;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}:root.dark .x2mdx-ref-rail-heading,[data-theme=\"dark\"] .x2mdx-ref-rail-heading{color:rgb(229, 231, 235)}.x2mdx-ref-operation-bar{display:flex;align-items:center;gap:0.75rem;width:100%;min-height:3.75rem;margin:0 0 3.25rem;padding:0.55rem 0.75rem;overflow:hidden;border:1px solid var(--x2mdx-ref-border);border-radius:1rem;background:var(--x2mdx-ref-surface);box-shadow:0 1px 2px rgba(13, 12, 17, 0.04)}:root.dark .x2mdx-ref-operation-bar,[data-theme=\"dark\"] .x2mdx-ref-operation-bar{border-color:rgba(255, 255, 255, 0.08);background:rgba(17, 17, 21, 0.6)}.x2mdx-ref-operation-method{flex:0 0 auto;padding:0.32rem 0.55rem;border-radius:0.55rem;background:rgba(22, 163, 74, 0.12);color:rgb(22, 163, 74);font-size:0.86rem;font-weight:700;line-height:1}.x2mdx-ref-operation-method--post,.x2mdx-ref-operation-method--json-rpc{background:rgba(37, 99, 235, 0.12);color:rgb(37, 99, 235)}.x2mdx-ref-operation-method--publish,.x2mdx-ref-operation-method--subscribe{background:rgba(124, 58, 237, 0.12);color:rgb(124, 58, 237)}.x2mdx-ref-operation-bar code{flex:1 1 auto;min-width:0;overflow:hidden;background:transparent;color:inherit;font-size:0.98rem;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}#content-container:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) h2{margin-top:2.5rem!important;margin-bottom:1rem!important;font-size:1.35rem!important;font-weight:700!important;line-height:1.25!important}#content-container:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) h3{font-size:1rem!important;line-height:1.35!important}#content-container :is(a[id^=\"interface-\"],a[id^=\"type-alias-\"],a[id^=\"variable-\"],a[id^=\"function-\"])+h4:not(:first-of-type),#content-container :is(a[id^=\"class-\"],a[id^=\"constr-\"],a[id^=\"function-\"],a[id^=\"type-\"])+h3:not(:first-of-type){margin-top:2rem!important;padding-top:1.35rem!important;border-top:1px solid rgba(var(--canton-highlight-rgb), 0.54)}.x2mdx-ref-rail-code--response{position:relative}.x2mdx-ref-response-label{flex:0 1 auto;max-width:11rem;overflow:hidden;color:rgb(115, 114, 118);font-family:ui-monospace, SFMono-Regular, SFMono-RegularFallback, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;font-size:0.75rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}:root.dark .x2mdx-ref-response-label,[data-theme=\"dark\"] .x2mdx-ref-response-label{color:rgb(162, 160, 165)}.x2mdx-ref-badges{display:flex;flex-wrap:wrap;gap:0.5rem}.x2mdx-ref-badge{display:inline-flex;align-items:center;min-height:1.55rem;padding:0.14rem 0.52rem;border:1px solid rgba(var(--canton-highlight-rgb), 0.16);border-radius:999px;background:var(--x2mdx-ref-accent-soft);color:var(--canton-highlight);font-size:0.76rem;font-weight:600;line-height:1.1;text-decoration:none}a.x2mdx-ref-badge:hover{filter:brightness(0.96);text-decoration:underline;text-underline-offset:0.16rem}a.x2mdx-ref-badge:focus-visible{outline:2px solid var(--canton-highlight);outline-offset:2px}.x2mdx-ref-badge--neutral{background:var(--x2mdx-ref-neutral-soft);border-color:rgba(107, 114, 128, 0.18);color:var(--x2mdx-ref-text-muted)}:root.dark .x2mdx-ref-badge--neutral,[data-theme=\"dark\"] .x2mdx-ref-badge--neutral{background:rgba(156, 163, 175, 0.12);border-color:rgba(156, 163, 175, 0.16);color:rgb(229, 231, 235)}.x2mdx-ref-badge--added{background:var(--x2mdx-ref-success-soft);border-color:rgba(21, 128, 61, 0.18);color:var(--x2mdx-ref-success)}.x2mdx-ref-badge--changed{background:var(--x2mdx-ref-info-soft);border-color:rgba(29, 78, 216, 0.18);color:var(--x2mdx-ref-info)}.x2mdx-ref-badge--removed{background:var(--x2mdx-ref-danger-soft);border-color:rgba(185, 28, 28, 0.18);color:var(--x2mdx-ref-danger)}.x2mdx-ref-meta-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(12rem, 1fr));gap:0.75rem;margin:0}.x2mdx-ref-meta-item{min-width:0;padding:0.85rem 0.95rem;border:1px solid var(--x2mdx-ref-border);border-radius:0.7rem;background:var(--x2mdx-ref-surface)}:root.dark .x2mdx-ref-meta-item,[data-theme=\"dark\"] .x2mdx-ref-meta-item{border-color:rgba(255, 255, 255, 0.08);background:rgba(17, 24, 39, 0.7)}.x2mdx-ref-meta-label{display:block;margin:0 0 0.3rem;font-size:0.77rem;font-weight:600;text-transform:uppercase;color:var(--x2mdx-ref-text-muted)}.x2mdx-ref-meta-value{display:block;margin:0;overflow-wrap:anywhere;font-size:0.96rem;font-weight:500;color:var(--x2mdx-ref-text)}.x2mdx-ref-card-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(16rem, 1fr));gap:1rem}.x2mdx-ref-card{display:grid;align-content:start;gap:0.8rem;min-height:100%;min-width:0;padding:1rem;border:1px solid var(--x2mdx-ref-border);border-radius:0.7rem;background:var(--x2mdx-ref-surface);color:inherit;text-decoration:none;transition:border-color 160ms ease, transform 160ms ease, background-color 160ms ease}.x2mdx-ref-card>*{min-width:0}:root.dark .x2mdx-ref-card,[data-theme=\"dark\"] .x2mdx-ref-card{border-color:rgba(255, 255, 255, 0.08);background:rgba(17, 24, 39, 0.78)}.x2mdx-ref-card:hover{border-color:rgba(var(--canton-highlight-rgb), 0.42);transform:translateY(-1px)}.x2mdx-ref-card-head{display:contents}.x2mdx-ref-card-title{order:0;margin:0;font-size:1rem;font-weight:700;line-height:1.3;color:var(--x2mdx-ref-text-strong);text-decoration:none;overflow-wrap:anywhere}.x2mdx-ref-card-title:hover{color:rgb(var(--canton-highlight-rgb))}.x2mdx-ref-card .x2mdx-ref-badges{order:2}.x2mdx-ref-card-summary{order:1;margin:0;color:var(--x2mdx-ref-text-muted);overflow-wrap:anywhere}.x2mdx-ref-card .x2mdx-ref-meta-grid{order:3}.x2mdx-ref-history{display:grid;gap:0.75rem;margin:0 0 2rem}.x2mdx-ref-history,.x2mdx-ref-history-event,.x2mdx-ref-history-event-head,.x2mdx-ref-history-event-detail{min-width:0;max-width:100%}.x2mdx-ref-history-event{display:grid;gap:0.5rem;padding:0.9rem 1rem;border:0;border-left:3px solid var(--x2mdx-ref-text-muted);border-radius:0.7rem;background:var(--x2mdx-ref-neutral-soft);scroll-margin-top:6rem}:root.dark .x2mdx-ref-history-event,[data-theme=\"dark\"] .x2mdx-ref-history-event{color:var(--x2mdx-ref-text)}.x2mdx-ref-history-event--introduced{border-left-color:var(--x2mdx-ref-success);background:var(--x2mdx-ref-success-soft)}.x2mdx-ref-history-event--changed,.x2mdx-ref-history-event--replacement{border-left-color:var(--x2mdx-ref-info);background:var(--x2mdx-ref-info-soft)}.x2mdx-ref-history-event--removed,.x2mdx-ref-history-event--deprecated,.x2mdx-ref-history-event--remove-as-of{border-left-color:var(--x2mdx-ref-danger);background:var(--x2mdx-ref-danger-soft)}.x2mdx-ref-history-event-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}.x2mdx-ref-history-event-label{color:var(--x2mdx-ref-text-strong);font-size:0.92rem;font-weight:700;line-height:1.3}.x2mdx-ref-history-event-version{flex:0 0 auto;background:transparent;color:var(--x2mdx-ref-text-muted);font-size:0.82rem}:root.dark .x2mdx-ref-history-event-version,[data-theme=\"dark\"] .x2mdx-ref-history-event-version{color:rgb(209, 213, 219)}.x2mdx-ref-history-event-detail{margin:0;overflow-wrap:anywhere;color:var(--x2mdx-ref-text-muted);font-size:0.92rem;line-height:1.5}:root.dark .x2mdx-ref-history-event-detail,[data-theme=\"dark\"] .x2mdx-ref-history-event-detail{color:rgb(209, 213, 219)}@media (max-width: 640px){.x2mdx-ref-history-event-head{align-items:flex-start;flex-direction:column;gap:0.35rem}}:root.dark .x2mdx-ref-card-summary,[data-theme=\"dark\"] .x2mdx-ref-card-summary{color:rgb(209, 213, 219)}.x2mdx-ref-panel,.x2mdx-ref-schema{margin:0 0 1rem;padding:1rem;border:1px solid rgba(15, 23, 42, 0.08);border-radius:0.7rem;background:rgba(255, 255, 255, 0.82)}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-panel,#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-schema{margin:0 0 1.9rem;padding:0;border:0;border-radius:0;background:transparent}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-panel-head,#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-schema-head{margin-bottom:0.65rem}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-grid{display:flex;flex-wrap:wrap;gap:0.45rem 1.1rem;padding:0.8rem 0;border-top:1px solid rgba(15, 23, 42, 0.08);border-bottom:1px solid rgba(15, 23, 42, 0.08)}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-item{display:flex;align-items:baseline;gap:0.35rem;min-width:0;padding:0;border:0;border-radius:0;background:transparent}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-label{margin:0;font-size:0.72rem;letter-spacing:0;text-transform:none}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-label::after{content:\":\"}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-value{max-width:32rem;font-size:0.86rem;font-weight:500}:root.dark #content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-grid,[data-theme=\"dark\"] #content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-grid,:root.dark #content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-item,[data-theme=\"dark\"] #content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-item{border-color:rgba(255, 255, 255, 0.08);background:transparent}:root.dark .x2mdx-ref-panel,:root.dark .x2mdx-ref-schema,[data-theme=\"dark\"] .x2mdx-ref-panel,[data-theme=\"dark\"] .x2mdx-ref-schema{border-color:rgba(255, 255, 255, 0.08);background:rgba(17, 24, 39, 0.78)}.x2mdx-ref-panel-head,.x2mdx-ref-schema-head{display:grid;gap:0.3rem;margin-bottom:0.9rem}.x2mdx-ref-panel-head h3,.x2mdx-ref-schema-head h3{margin:0;font-size:1rem;line-height:1.3;overflow-wrap:anywhere}.x2mdx-ref-schema-variants{display:grid;gap:0.8rem;margin-top:0.9rem}.x2mdx-ref-schema-variant-label{font-size:0.77rem;font-weight:700;text-transform:uppercase;color:rgb(107, 114, 128)}.x2mdx-ref-schema-variant{display:grid;gap:0.65rem;min-width:0;padding:0.85rem;border:1px solid rgba(15, 23, 42, 0.08);border-radius:0.65rem;background:rgba(248, 250, 252, 0.72)}:root.dark .x2mdx-ref-schema-variant,[data-theme=\"dark\"] .x2mdx-ref-schema-variant{border-color:rgba(255, 255, 255, 0.08);background:rgba(17, 24, 39, 0.58)}.x2mdx-ref-schema-variant-head{display:grid;gap:0.25rem}.x2mdx-ref-schema-variant-head h4{margin:0;font-size:0.94rem;line-height:1.3;overflow-wrap:anywhere}body:has(.x2mdx-ref-hero) #table-of-contents-content a,body:has(.x2mdx-ref-hero) [aria-label=\"Table of contents\"] a{overflow-wrap:anywhere;word-break:normal}.x2mdx-ref-panel-summary,.x2mdx-ref-schema-summary,.x2mdx-ref-schema-description{margin:0;color:rgb(75, 85, 99)}:root.dark .x2mdx-ref-panel-summary,:root.dark .x2mdx-ref-schema-summary,:root.dark .x2mdx-ref-schema-description,[data-theme=\"dark\"] .x2mdx-ref-panel-summary,[data-theme=\"dark\"] .x2mdx-ref-schema-summary,[data-theme=\"dark\"] .x2mdx-ref-schema-description{color:rgb(209, 213, 219)}.x2mdx-ref-fields{display:grid;margin-top:0.75rem;border-top:1px solid rgba(15, 23, 42, 0.08);border-bottom:1px solid rgba(15, 23, 42, 0.08);border-radius:0;overflow:hidden}:root.dark .x2mdx-ref-fields,[data-theme=\"dark\"] .x2mdx-ref-fields{border-color:rgba(255, 255, 255, 0.08)}.x2mdx-ref-field-row{display:grid;gap:0.35rem;padding:0.75rem 0;background:transparent}.x2mdx-ref-field-row+.x2mdx-ref-field-row{border-top:1px solid rgba(15, 23, 42, 0.08)}:root.dark .x2mdx-ref-field-row+.x2mdx-ref-field-row,[data-theme=\"dark\"] .x2mdx-ref-field-row+.x2mdx-ref-field-row{border-top-color:rgba(255, 255, 255, 0.08)}.x2mdx-ref-field-main{display:flex;flex-wrap:wrap;align-items:center;gap:0.45rem;min-width:0}.x2mdx-ref-field-name{background:transparent;color:var(--canton-highlight);font-size:0.94rem;font-weight:600}.x2mdx-ref-type-badge,.x2mdx-ref-required-badge{display:inline-flex;align-items:center;min-height:1.45rem;padding:0.1rem 0.45rem;border-radius:0.42rem;font-family:ui-monospace, SFMono-Regular, SFMono-RegularFallback, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;font-size:0.76rem;line-height:1}.x2mdx-ref-type-badge{background:rgba(107, 114, 128, 0.12);color:rgb(55, 65, 81)}.x2mdx-ref-required-badge{background:rgba(220, 38, 38, 0.1);color:rgb(153, 27, 27)}.x2mdx-ref-field-description{color:rgb(75, 85, 99);font-size:0.9rem;line-height:1.45;white-space:pre-wrap}@media (max-width: 900px){.x2mdx-ref-field-row{padding:0.7rem 0}}.x2mdx-ref-example-heading{margin:1rem 0 0.45rem;font-size:0.88rem;font-weight:600;text-transform:uppercase;color:rgb(107, 114, 128)}.x2mdx-ref-change-list{display:grid;gap:0.7rem}.x2mdx-ref-change-item{display:grid;gap:0.35rem;padding:0.9rem 1rem;border-left:3px solid var(--canton-highlight);border-radius:0.6rem;background:rgba(var(--canton-highlight-rgb), 0.06)}.x2mdx-ref-change-version{font-size:0.82rem;font-weight:700;text-transform:uppercase;color:var(--canton-highlight)}.x2mdx-ref-enum-list{margin:0.8rem 0 0;padding-left:1rem}"}]}
{"page":{"pagePath":"global-synchronizer/production-operations/repair-canton-nodes","slug":"/global-synchronizer/production-operations/repair-canton-nodes","pageMetadata":{"title":"Repair Canton Nodes","description":"Recovering a participant node from a lost synchronizer, rehydrating a participant node, and unblocking a participant node synchronizer connection","href":"/global-synchronizer/production-operations/repair-canton-nodes"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Recovering a participant node from a lost synchronizer, rehydrating a participant node, and unblocking a participant node synchronizer connection\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Choose one of the following repair procedures based on the type of participant node fault in need of repair.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Repairing participant nodes is dangerous and complex. Therefore, you are discouraged from attempting to repair participant nodes on your own unless you have expert knowledge and experience. Instead, you are strongly advised to only repair participant nodes with the help of technical support.`})}),`\n`,_jsxs(_components.p,{children:[`Repair commands are disabled by default. See `,_jsx(_components.a,{href:`/global-synchronizer/canton-console/advanced-operations#enabling-repair-commands`,children:`Enabling repair commands`}),` in the Advanced Operations page.`]}),`\n`,_jsx(Heading,{level:`2`,id:`recovering-from-a-lost-synchronizer`,children:`Recovering from a lost synchronizer`}),`\n`,_jsx(_components.p,{children:`If a synchronizer is irreparably lost or no longer trusted, the participant nodes previously connected to and sharing active contracts via that synchronizer can recover and migrate their contracts to a new synchronizer. The participant node administrators need to coordinate as follows:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Disconnect all participant nodes from the synchronizer deemed lost or untrusted.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Identify the synchronizer configuration of the newly provisioned synchronizer.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`All participant node administrators invoke the `,_jsx(_components.code,{children:`migrate_synchronizer`}),` method specifying the alias of the “old” synchronizer as “source” and the “new” synchronizer. Additionally, set the “force” flag to true given that the old synchronizer is either lost or untrusted in this scenario.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`scala`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`scala`,children:_jsxs(_components.code,{language:`scala`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`participants.all.foreach { participant `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` participant.repair.migrate_synchronizer(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` source `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` oldSynchronizer,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` target `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` newSynchronizerConfig,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` force `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` true`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`The participant nodes connect to the new synchronizer.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`The synchronizer loss may have resulted in active contract set inconsistencies. In such cases the participant node administrators need to agree on whether contracts in an inconsistent state on the different participant nodes should be removed or added. Refer to `,_jsx(_components.a,{href:`/global-synchronizer/troubleshooting-guide/transaction-failures#troubleshoot-acs-commitments`,children:`Troubleshoot ACS Commitments`}),` to identify and repair ACS differences.`]}),`\n`,_jsx(_components.p,{children:`As these methods are powerful but dangerous, you should not attempt to repair your participant nodes on your own as you risk severe data corruption, but rather in the context of technical support.`}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`fully-rehydrating-a-participant-node`,children:`Fully rehydrating a participant node`}),`\n`,_jsx(_components.p,{children:`Fully rehydrating a participant node means recovering the participant node after its database has been fully emptied or lost. If a participant node needs to be rehydrated, but no participant node backup is available or the backup is faulty, you may be able to rehydrate the participant node from a synchronizer as long as the synchronizer has never been pruned, and you have local console access to the participant node. You can preserve the participant node’s identity and secret keys.`}),`\n`,_jsx(_components.p,{children:`If you are running your production participant node in a container, you need to create a new configuration file that allows you to access the database of the participant node from an interactive console.\nMake sure that the participant node process is stopped and that nothing else is accessing the same database.\nEnsure that database replication is turned on if the participant node has been configured for high availability.\nAlso, make sure that the participant node is configured to not perform auto-initialization to prevent creating a new identity.\nDownloading the identity exports the node’s private keys, which is only allowed when key downloads are enabled.`}),`\n`,_jsx(_components.p,{children:`For Splice 0.10.0 onwards:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`canton.parameters.enable-key-download = true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`canton.participants.participant1.init = {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` generate-topology-transactions-and-keys = false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` identity.type = manual`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Prior to Splice 0.10.0:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`canton.features.enable-preview-commands = true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`canton.participants.participant1.init = {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` generate-topology-transactions-and-keys = false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` identity.type = manual`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Then start Canton interactively using the `,_jsx(_components.code,{children:`--manual-start`}),` option to prevent Canton from automatically starting the nodes and reconnecting them to the synchronizers:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`./bin/canton`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` -c`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` myconfig`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` --manual-start`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Then, download the identity state of the participant node to a directory on the machine you are running the process. `,_jsx(_components.code,{children:`protocolVersion`}),` is the protocol version of the synchronizer:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`scala`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`scala`,children:_jsxs(_components.code,{language:`scala`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`repair.identity.download(`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` participant1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` synchronizerId,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` protocolVersion,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` tempDirParticipant,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`repair.dars.download(participant1, tempDirParticipant)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`participant1.stop()`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This stores the topology state, the identity, and the secret keys on the disk in the specified directory. Participant nodes using a Key Management System are not supported: the download fails because KMS-held private keys cannot be exported.`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dars.download`}),` command is a convenience command to download all Daml archive files (DARs) that have been added to the participant via the console command `,_jsx(_components.code,{children:`participant.dars.upload`}),`. DARs that were uploaded through the Ledger API need to be manually re-uploaded to the new participant node.`]}),`\n`,_jsxs(_components.p,{children:[`After downloading, stop the participant node, back up the database, and then truncate the database. Then, restart the participant node and upload the data again. `,_jsx(_components.code,{children:`staticSynchronizerParameters`}),` are the static parameters of the synchronizer:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`scala`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`scala`,children:_jsxs(_components.code,{language:`scala`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`repair.identity.upload(`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` participant1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` tempDirParticipant,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` synchronizerId,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` staticSynchronizerParameters,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` sequencerConnections,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`repair.dars.upload(participant1, tempDirParticipant)`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Reconnect the participant node to the synchronizer using a normal connect:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`scala`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`scala`,children:_jsxs(_components.code,{language:`scala`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`participant1.synchronizers.connect_by_config(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:` SynchronizerConnectionConfig`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` synchronizerAlias `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:` SynchronizerAlias`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`.tryCreate(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cyour synchronizer alias>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` sequencerConnections `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` sequencerConnections,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` initializeFromTrustedSynchronizer `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` true`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`)`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Note that this replays all transactions from the synchronizer. However, command deduplication is only fully functional once the participant node catches up with the synchronizer. Therefore, you need to ensure that applications relying on command deduplication do not submit commands during recovery.`}),`\n`,_jsx(Heading,{level:`2`,id:`unblocking-a-participant-node-synchronizer-connection`,children:`Unblocking a participant node synchronizer connection`}),`\n`,_jsx(_components.p,{children:`If a participant node is unable to process events from a synchronizer, and the participant node process continuously crashes when reconnecting to the synchronizer, it may be necessary to “ignore” the problematic event. This procedure describes how to unblock the participant node.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Ensure that the cause is not a more common issue such as lack of database connectivity. Only proceed with the following steps if the participant node logs rule out more common issues. Inspect the participant node logs for “internal” errors referring to the synchronizer ID. If the logs show an `,_jsx(_components.code,{children:`ApplicationHandlerException`}),`, note the first and last “sequencing timestamps”.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Disconnect the participant node from the synchronizer whose events you want to ignore, and restart the participant node after enabling the repair commands and internal state inspection.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`canton.features.enable-repair-commands = true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`canton.features.enable-testing-commands = true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Make sure that the participant node is disconnected from the synchronizer.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Determine the “sequencer counters” to ignore.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`If in step 1 you identified the first and last sequencing timestamps, translate the timestamps to first and last sequencer counters:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`scala`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`scala`,children:_jsxs(_components.code,{language:`scala`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`import`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:` com`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`digitalasset`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`canton`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`store`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`SequencedEventStore`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`ByTimestamp`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`val`}),_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFAB70`},children:` sequencedEvent`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:` =`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` participant.testing.state_inspection`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` .findMessage(physicalSynchronizerId, `}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`ByTimestamp`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`(sequencedEventTimestamp))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` .getOrElse(`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`throw`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:` Exception`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Sequenced event not found\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`val`}),_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFAB70`},children:` sequencerCounter`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:` =`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` sequencedEvent.counter`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Otherwise you may choose to ignore the last event that the participant node has processed from the synchronizer and look up the sequencer counter as follows:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`scala`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`scala`,children:_jsxs(_components.code,{language:`scala`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`import`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:` com`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`digitalasset`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`canton`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`store`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`SequencedEventStore`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`SearchCriterion`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`val`}),_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFAB70`},children:` lastSequencedEvent`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:` =`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` participant.testing.state_inspection`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` .findMessage(physicalSynchronizerId, `}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`SearchCriterion`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`Latest`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` .getOrElse(`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`throw`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:` Exception`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Sequenced event not found\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`val`}),_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFAB70`},children:` lastCounter`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:` =`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` lastSequencedEvent.counter`})]}),`\n`]})})}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`repair.ignore_events`}),` command to ignore the sequenced events that the participant node is unable to process. The command takes the physical synchronizer ID and the first and last sequencer counters of the events to ignore as parameters, `,_jsx(_components.code,{children:`fromInclusive`}),` and `,_jsx(_components.code,{children:`toInclusive`}),`, determined in step 3. You should not set the force flag.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`scala`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`scala`,children:_jsxs(_components.code,{language:`scala`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`participant.repair.ignore_events(`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` physicalSynchronizerId,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` fromInclusive,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` toInclusive,`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` force `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` false`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`)`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`If you find that you have made a mistake and chose the wrong sequencer counters, you can invoke `,_jsx(_components.code,{children:`repair.unignore_events`}),` to “unignore” the events:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`scala`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`scala`,children:_jsxs(_components.code,{language:`scala`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`participant.repair.unignore_events(`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` physicalSynchronizerId,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` fromInclusive,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` toInclusive,`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` force `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` false`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`)`})}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Next, reconnect the participant node to the synchronizer and check that the participant node is able to process sequenced events again. If the participant node is still blocked, you may need to repeat the previous steps.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Once the participant node is unblocked consuming events from the synchronizer, participant nodes may have an inconsistent ACS. Look for errors in the log that begin with “ACS_COMMITMENT”, for example “ACS_COMMITMENT_MISMATCH”. Inspect not only the repaired participant node, but also the other participant nodes that were also involved in the transactions behind the ignored events.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`If there are ACS inconsistencies, refer to `,_jsx(_components.a,{href:`/global-synchronizer/troubleshooting-guide/transaction-failures#troubleshoot-acs-commitments`,children:`Troubleshoot ACS Commitments`}),` to identify and repair ACS differences.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Disable repair commands and internal state inspection by removing the configurations added in step 2 and restarting the participant node. This is important to prevent accidental misuse of the repair commands in the future.`}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`As the above steps are powerful but dangerous, you should perform the procedure in the context of technical support.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"Repair Canton Nodes","description":"Recovering a participant node from a lost synchronizer, rehydrating a participant node, and unblocking a participant node synchronizer connection","href":"/global-synchronizer/production-operations/repair-canton-nodes"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Recovering from a lost synchronizer","slug":"recovering-from-a-lost-synchronizer","depth":2,"children":[]},{"title":"Fully rehydrating a participant node","slug":"fully-rehydrating-a-participant-node","depth":2,"children":[]},{"title":"Unblocking a participant node synchronizer connection","slug":"unblocking-a-participant-node-synchronizer-connection","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cantonfoundation/9c03e72e153d6207/mintlify-sidebar-footer-patch.js","/_mintlify/custom/cantonfoundation/17537d003d412865/osano.js","/_mintlify/custom/cantonfoundation/ab79e5cc3fdba73d/giscus.js","/_mintlify/custom/cantonfoundation/675ffe7726579720/nav-transition.js","/_mintlify/custom/cantonfoundation/9b7a7a7db37d0115/ga-analytics-adjust.js"],"subdomain":"cantonfoundation","siteName":"Canton Network Docs","title":"Repair Canton Nodes - Canton Network Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-19T16:42:26.000Z","originalFileLocation":"global-synchronizer/production-operations/repair-canton-nodes.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Recovering a participant node from a lost synchronizer, rehydrating a participant node, and unblocking a participant node synchronizer connection\">\u003cmeta data-mint-head name=\"application-name\" content=\"Canton Network Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/svg+xml\" sizes=\"180x180\" href=\"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-dark.svg?fit=max\u0026amp;auto=format\u0026amp;n=OOy41G-b8QJx6Gkr\u0026amp;q=85\u0026amp;s=d5d59c10fc4ca9be021afb188db72e2f\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"32x32\" href=\"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-dark.svg?fit=max\u0026amp;auto=format\u0026amp;n=OOy41G-b8QJx6Gkr\u0026amp;q=85\u0026amp;s=d5d59c10fc4ca9be021afb188db72e2f\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"16x16\" href=\"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-dark.svg?fit=max\u0026amp;auto=format\u0026amp;n=OOy41G-b8QJx6Gkr\u0026amp;q=85\u0026amp;s=d5d59c10fc4ca9be021afb188db72e2f\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/svg+xml\" href=\"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-dark.svg?fit=max\u0026amp;auto=format\u0026amp;n=OOy41G-b8QJx6Gkr\u0026amp;q=85\u0026amp;s=d5d59c10fc4ca9be021afb188db72e2f\">\u003cmeta data-mint-head property=\"og:title\" content=\"Repair Canton Nodes - Canton Network Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Recovering a participant node from a lost synchronizer, rehydrating a participant node, and unblocking a participant node synchronizer connection\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Canton Network Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.canton.network/global-synchronizer/production-operations/repair-canton-nodes\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cantonfoundation.mintlify.site/_mintlify/api/og/v2?division=Production+Operations\u0026amp;title=Repair+Canton+Nodes\u0026amp;description=Recovering+a+participant+node+from+a+lost+synchronizer%2C+rehydrating+a+participant+node%2C+and+unblocking+a+participant+node+synchronizer+connection\u0026amp;theme=ffe2080e38fe73bda4a88670\u0026amp;signature=bd95e72b0921c24b697c4d5089ab2a97c7f008e7f0c8cbfc6d5498ecd3267e81\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Repair Canton Nodes - Canton Network Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Recovering a participant node from a lost synchronizer, rehydrating a participant node, and unblocking a participant node synchronizer connection\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cantonfoundation.mintlify.site/_mintlify/api/og/v2?division=Production+Operations\u0026amp;title=Repair+Canton+Nodes\u0026amp;description=Recovering+a+participant+node+from+a+lost+synchronizer%2C+rehydrating+a+participant+node%2C+and+unblocking+a+participant+node+synchronizer+connection\u0026amp;theme=ffe2080e38fe73bda4a88670\u0026amp;signature=bd95e72b0921c24b697c4d5089ab2a97c7f008e7f0c8cbfc6d5498ecd3267e81\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/cantonfoundation/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Canton Network Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#734BE2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.canton.network/global-synchronizer/production-operations/repair-canton-nodes\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/global-synchronizer/production-operations/repair-canton-nodes.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.canton.network/#organization\",\"name\":\"Canton Network Docs\",\"url\":\"https://docs.canton.network\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-dark.svg?fit=max\u0026auto=format\u0026n=OOy41G-b8QJx6Gkr\u0026q=85\u0026s=d5d59c10fc4ca9be021afb188db72e2f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.canton.network#website\",\"name\":\"Canton Network Docs\",\"url\":\"https://docs.canton.network\",\"publisher\":{\"@id\":\"https://docs.canton.network/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.canton.network/global-synchronizer/production-operations/repair-canton-nodes#webpage\",\"url\":\"https://docs.canton.network/global-synchronizer/production-operations/repair-canton-nodes\",\"name\":\"Repair Canton Nodes\",\"description\":\"Recovering a participant node from a lost synchronizer, rehydrating a participant node, and unblocking a participant node synchronizer connection\",\"dateModified\":\"2026-11-19T16:42:26.000Z\",\"isPartOf\":{\"@id\":\"https://docs.canton.network#website\"},\"breadcrumb\":{\"@id\":\"https://docs.canton.network/global-synchronizer/production-operations/repair-canton-nodes#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.canton.network/global-synchronizer/production-operations/repair-canton-nodes#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Production Operations\",\"item\":\"https://docs.canton.network/global-synchronizer/production-operations/monitoring-setup\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Repair Canton Nodes\",\"item\":\"https://docs.canton.network/global-synchronizer/production-operations/repair-canton-nodes\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.canton.network/global-synchronizer/production-operations/repair-canton-nodes#article\",\"headline\":\"Repair Canton Nodes\",\"name\":\"Repair Canton Nodes\",\"description\":\"Recovering a participant node from a lost synchronizer, rehydrating a participant node, and unblocking a participant node synchronizer connection\",\"url\":\"https://docs.canton.network/global-synchronizer/production-operations/repair-canton-nodes\",\"mainEntityOfPage\":{\"@id\":\"https://docs.canton.network/global-synchronizer/production-operations/repair-canton-nodes#webpage\"},\"dateModified\":\"2026-11-19T16:42:26.000Z\",\"publisher\":{\"@id\":\"https://docs.canton.network/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.canton.network#website\"}}]}\u003c/script>","agentPointerHref":"/global-synchronizer/production-operations/repair-canton-nodes.md","siteName":"Canton Network Docs","nav":{"global":null,"products":[{"product":"Overview","icon":"book-open","pages":[{"title":"Overview","href":"/overview/understand/what-is-canton"}]},{"product":"App Development","icon":"code","pages":[{"title":"App Development","href":"/appdev/get-started/choose-your-path"}]},{"product":"Global Synchronizer","icon":"server","groups":[{"group":"Overview","pages":[{"title":"Global Synchronizer for the Canton Network","href":"/global-synchronizer/understand/overview"},{"title":"Introduction to Node Operations","href":"/global-synchronizer/understand/introduction"},{"title":"Validator Roles and Responsibilities","href":"/global-synchronizer/understand/validator-roles"},{"title":"BFT Orderer Architecture","href":"/global-synchronizer/extension-synchronizers/bft-orderer"},{"title":"Installing a Compatible Daml SDK","href":"/global-synchronizer/understand/installing-daml-sdk"}]},{"group":"Validator Deployment","pages":[{"title":"Validator Onboarding Process","href":"/global-synchronizer/deployment/onboarding-process"},{"title":"Prerequisites","href":"/global-synchronizer/deployment/prerequisites"},{"group":"Deployment Options","pages":[{"title":"Deployment Options","href":"/global-synchronizer/deployment/deployment-options"},{"title":"Docker Compose Validator Deployment","href":"/global-synchronizer/deployment/validator-docker-compose"},{"title":"Kubernetes Validator Deployment","href":"/global-synchronizer/deployment/validator-kubernetes"}]},{"title":"Custom Configuration","href":"/global-synchronizer/deployment/configuration"},{"title":"Validator Users and Wallets","href":"/global-synchronizer/deployment/validator-users"},{"title":"Validator Network Resets","href":"/global-synchronizer/deployment/validator-network-resets"},{"title":"Required Network Parameters","href":"/global-synchronizer/deployment/required-network-parameters"},{"title":"Validator Backups","href":"/global-synchronizer/production-operations/validator-backups"},{"title":"Validator Disaster Recovery","href":"/global-synchronizer/production-operations/validator-disaster-recovery"},{"title":"Recovering Stuck Validators after the November 2026 LSU","href":"/global-synchronizer/production-operations/validator-recovery-november-2026-lsu"},{"title":"Migrating off PostgreSQL 14","href":"/global-synchronizer/production-operations/validator-postgres-migration"},{"title":"Validator Upgrades","href":"/global-synchronizer/production-operations/validator-upgrades"},{"title":"Validator Security","href":"/global-synchronizer/production-operations/validator-security"},{"title":"Validator Ingress and Egress Requirements","href":"/global-synchronizer/deployment/validator-networking"}]},{"group":"Super Validator Deployment","pages":[{"title":"Super Validator Helm Deployment","href":"/global-synchronizer/deployment/kubernetes-deployment"},{"title":"Super Validator Deployment Recommendations","href":"/global-synchronizer/deployment/sv-deployment-recommendations"},{"title":"SV Network Resets","href":"/global-synchronizer/deployment/sv-network-resets"},{"title":"SV Security","sidebarTitle":"SV Security","href":"/global-synchronizer/production-operations/sv-security"},{"title":"SV Rate Limits","sidebarTitle":"SV Rate Limits","href":"/global-synchronizer/production-operations/sv-rate-limits"},{"title":"SV Upgrades","href":"/global-synchronizer/production-operations/sv-upgrades"},{"title":"Logical Synchronizer Upgrades","href":"/global-synchronizer/production-operations/logical-synchronizer-upgrade"},{"title":"SV Operations Overview","href":"/global-synchronizer/deployment/sv-operations"},{"title":"How to Bootstrap a Network","href":"/global-synchronizer/deployment/sv-scratchnet"}]},{"group":"Splice Fundamentals","pages":[{"title":"Minting Delegations","href":"/global-synchronizer/splice-fundamentals/rewards-minting"},{"title":"Traffic-Based App Rewards","href":"/global-synchronizer/splice-fundamentals/traffic-based-app-rewards"},{"title":"Reward Sharing","href":"/global-synchronizer/splice-fundamentals/reward-sharing"},{"title":"Synchronizer Traffic","href":"/global-synchronizer/deployment/synchronizer-traffic"},{"title":"Development Fund","href":"/global-synchronizer/splice-fundamentals/validator-development-fund"},{"title":"Super Validator Rewards","href":"/global-synchronizer/splice-fundamentals/sv-live-tokenomics"},{"title":"Validator Liveness","href":"/global-synchronizer/splice-fundamentals/validator-liveness"},{"title":"Glossary","href":"/global-synchronizer/splice-fundamentals/glossary"}]},{"group":"Canton Console","pages":[{"title":"Essential Commands","href":"/global-synchronizer/canton-console/essential-commands"},{"title":"Scripting","href":"/global-synchronizer/canton-console/scripting"},{"title":"Debugging Workflows","href":"/global-synchronizer/canton-console/debugging-workflows"},{"title":"Advanced Operations","href":"/global-synchronizer/canton-console/advanced-operations"},{"title":"Advanced Canton Console","href":"/global-synchronizer/production-operations/canton-console"},{"title":"Canton Getting Started Tutorial","href":"/global-synchronizer/canton-console/getting-started-tutorial"}]},{"group":"Production Operations","pages":[{"title":"Monitoring Setup","href":"/global-synchronizer/production-operations/monitoring-setup"},{"title":"Splice Metrics Overview","href":"/global-synchronizer/production-operations/splice-metrics-overview"},{"title":"Performance Optimization","href":"/global-synchronizer/production-operations/performance-optimization"},{"title":"Key Management","href":"/global-synchronizer/production-operations/key-management"},{"title":"Topology Key Monitor","sidebarTitle":"Topology Key Monitor","href":"/global-synchronizer/production-operations/topology-key-monitor"},{"title":"Party Management","href":"/global-synchronizer/production-operations/party-management"},{"title":"Multi-Sig in Canton","href":"/global-synchronizer/production-operations/multi-sig"},{"title":"Canton KMS Operations","href":"/global-synchronizer/production-operations/kms-operations"},{"title":"Local Traffic Management","href":"/global-synchronizer/production-operations/local-traffic-management"},{"title":"Manage Daml Packages and Archives","href":"/global-synchronizer/production-operations/manage-packages"},{"title":"Upgrade Canton Nodes","href":"/global-synchronizer/production-operations/upgrade-canton-nodes"},{"title":"Decommission Canton Nodes","href":"/global-synchronizer/production-operations/decommission-nodes"},{"title":"Canton Node Backup and Restore","description":"Back up and restore Canton participant and synchronizer nodes, including database replication for disaster recovery.","href":"/global-synchronizer/production-operations/node-backup-restore"},{"title":"Repair Canton Nodes","href":"/global-synchronizer/production-operations/repair-canton-nodes"},{"title":"Checking, Validating and Preventing Database Corruptions","description":"Manual how to avoid and recover from database corruptions in Canton","href":"/global-synchronizer/production-operations/checking-and-validating-databases"},{"title":"Canton Identity Management","href":"/global-synchronizer/deployment/identity-management"},{"title":"Okta and Keycloak OIDC Configuration Guide","href":"/global-synchronizer/deployment/oidc-providers"},{"title":"Canton Docker Operations","href":"/global-synchronizer/deployment/docker"},{"title":"Splice Metrics Reference","href":"/global-synchronizer/reference/metrics-reference"},{"title":"Runbooks","href":"/global-synchronizer/troubleshooting-guide/runbooks"},{"group":"Super Validator only","pages":[{"title":"Disaster Recovery","href":"/global-synchronizer/production-operations/disaster-recovery"},{"title":"Pruning","href":"/global-synchronizer/production-operations/pruning"},{"title":"Logical Synchronizer Upgrades","href":"/global-synchronizer/production-operations/logical-synchronizer-upgrade"},{"title":"SV Backup","href":"/global-synchronizer/production-operations/sv-backup"},{"title":"SV Bulk Storage","href":"/global-synchronizer/production-operations/sv-bulk-storage"},{"title":"SV Pruning","href":"/global-synchronizer/production-operations/sv-pruning"}]},{"title":"Network Scalability","href":"/global-synchronizer/production-operations/scalability"}]},{"group":"Dedicated Synchronizers","pages":[{"title":"Dedicated Synchronizers","href":"/global-synchronizer/extension-synchronizers/dedicated-synchronizers"},{"title":"Deploying a Dedicated Synchronizer","href":"/global-synchronizer/extension-synchronizers/deployment"},{"title":"Hybrid Synchronizer Pattern","href":"/global-synchronizer/extension-synchronizers/hybrid-synchronizer-pattern"},{"title":"Connecting a Validator to Multiple Synchronizers","href":"/global-synchronizer/extension-synchronizers/linking-validator-multi-sync"},{"title":"Private Only Validators that are Connected to a Dedicated Synchronizers","href":"/global-synchronizer/extension-synchronizers/private-validators"},{"title":"Synchronizer Operations","href":"/global-synchronizer/extension-synchronizers/synchronizer-operations"},{"title":"Synchronizer Monitoring","href":"/global-synchronizer/extension-synchronizers/synchronizer-monitoring"}]},{"group":"Troubleshooting","pages":[{"title":"FAQ","href":"/global-synchronizer/faq"},{"title":"Troubleshooting Methodology","href":"/global-synchronizer/troubleshooting-guide/troubleshooting-methodology"},{"title":"Diagnose Canton Nodes","href":"/global-synchronizer/troubleshooting-guide/diagnose-canton-nodes"},{"title":"Installation Issues","href":"/global-synchronizer/troubleshooting-guide/installation-issues"},{"title":"Configuration Problems","href":"/global-synchronizer/troubleshooting-guide/configuration-problems"},{"title":"Connectivity Issues","href":"/global-synchronizer/troubleshooting-guide/connectivity-issues"},{"title":"Transaction Failures","href":"/global-synchronizer/troubleshooting-guide/transaction-failures"},{"title":"Performance Issues","href":"/global-synchronizer/troubleshooting-guide/performance-issues"},{"title":"Security Issues","href":"/global-synchronizer/troubleshooting-guide/security-issues"},{"title":"Common Questions","href":"/global-synchronizer/troubleshooting-guide/common-questions"},{"title":"Common Error Codes","href":"/global-synchronizer/troubleshooting-guide/error-code-reference"}]},{"group":"Release Notes","pages":[{"title":"Splice","href":"/global-synchronizer/release-notes/splice"},{"title":"Release History","href":"/global-synchronizer/release-notes/release-history"},{"title":"Weekly Patch Releases","href":"/global-synchronizer/release-notes/weekly-patch-releases"},{"group":"Canton","pages":[{"title":"Canton","href":"/global-synchronizer/release-notes/canton"},{"title":"3.7.5","href":"/global-synchronizer/release-notes/canton-releases/3-7-5"},{"title":"3.7.4","href":"/global-synchronizer/release-notes/canton-releases/3-7-4"},{"title":"3.7.3","href":"/global-synchronizer/release-notes/canton-releases/3-7-3"},{"title":"3.7.2","href":"/global-synchronizer/release-notes/canton-releases/3-7-2"},{"title":"3.7.1","href":"/global-synchronizer/release-notes/canton-releases/3-7-1"},{"title":"3.7.0","href":"/global-synchronizer/release-notes/canton-releases/3-7-0"},{"title":"3.6.4","href":"/global-synchronizer/release-notes/canton-releases/3-6-4"},{"title":"3.6.3","href":"/global-synchronizer/release-notes/canton-releases/3-6-3"},{"title":"3.6.2","href":"/global-synchronizer/release-notes/canton-releases/3-6-2"},{"title":"3.6.1","href":"/global-synchronizer/release-notes/canton-releases/3-6-1"},{"title":"3.5.19","href":"/global-synchronizer/release-notes/canton-releases/3-5-19"},{"title":"3.5.18","href":"/global-synchronizer/release-notes/canton-releases/3-5-18"},{"title":"3.5.17","href":"/global-synchronizer/release-notes/canton-releases/3-5-17"},{"title":"3.5.16","href":"/global-synchronizer/release-notes/canton-releases/3-5-16"},{"title":"3.5.15","href":"/global-synchronizer/release-notes/canton-releases/3-5-15"},{"title":"3.5.14","href":"/global-synchronizer/release-notes/canton-releases/3-5-14"},{"title":"3.5.13","href":"/global-synchronizer/release-notes/canton-releases/3-5-13"},{"title":"3.5.12","href":"/global-synchronizer/release-notes/canton-releases/3-5-12"},{"title":"3.5.11","href":"/global-synchronizer/release-notes/canton-releases/3-5-11"},{"title":"3.5.10","href":"/global-synchronizer/release-notes/canton-releases/3-5-10"},{"title":"3.5.9","href":"/global-synchronizer/release-notes/canton-releases/3-5-9"},{"title":"3.5.8","href":"/global-synchronizer/release-notes/canton-releases/3-5-8"},{"title":"3.5.7","href":"/global-synchronizer/release-notes/canton-releases/3-5-7"},{"title":"3.5.6","href":"/global-synchronizer/release-notes/canton-releases/3-5-6"},{"title":"3.5.5","href":"/global-synchronizer/release-notes/canton-releases/3-5-5"},{"title":"3.5.4","href":"/global-synchronizer/release-notes/canton-releases/3-5-4"},{"title":"3.5.3","href":"/global-synchronizer/release-notes/canton-releases/3-5-3"},{"title":"3.5.2","href":"/global-synchronizer/release-notes/canton-releases/3-5-2"},{"title":"3.5.1","href":"/global-synchronizer/release-notes/canton-releases/3-5-1"}]}]},{"group":"Reference","pages":[{"title":"Canton Console Reference","href":"/global-synchronizer/reference/canton-console-reference"},{"title":"Canton Console Commands","href":"/global-synchronizer/reference/canton-console-commands"},{"title":"Configuration Reference","href":"/global-synchronizer/reference/configuration-reference"},{"title":"Canton Configuration Guide","href":"/global-synchronizer/reference/canton-configuration-guide"},{"title":"Canton API Configuration","href":"/global-synchronizer/reference/api-configuration"},{"title":"Canton Security Configuration","href":"/global-synchronizer/reference/security-configuration"},{"title":"Canton Observability Configuration","href":"/global-synchronizer/reference/observability-configuration"},{"title":"Supported Cryptographic Schemes","href":"/global-synchronizer/reference/crypto-schemes"},{"title":"Canton KMS Driver Developer Guide","href":"/global-synchronizer/reference/kms-driver-guide"},{"title":"Canton Metrics","href":"/global-synchronizer/reference/canton-metrics"},{"title":"Error Code Reference","href":"/global-synchronizer/reference/error-codes"}]},{"group":"Community Resources","pages":[{"title":"Alternative Docker Compose Deployment (Community)","href":"/global-synchronizer/deployment/community-docker-compose-helm"},{"title":"Automated Helm/Kubernetes Templating Tool (Community)","href":"/global-synchronizer/deployment/community-helm-templating"},{"title":"Keycloak Configuration Guide for Canton Validator (Community)","href":"/global-synchronizer/deployment/community-keycloak-config"}]},{"group":"Schedules","hidden":true,"searchable":true,"pages":[{"title":"SV Operations Schedule and release calendar","href":"/shared/sv-operations-schedule"}]}]},{"product":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"product":"SDKs and Tools","icon":"wrench","pages":[{"title":"SDKs and Tools","href":"/sdks-tools/overview"}]},{"product":"API Reference","icon":"book-open","pages":[{"title":"API Reference","href":"/api-reference"}]},{"product":"Release Notes","icon":"note","pages":[{"title":"Release Notes","href":"/release-notes"}]},{"product":"Version Dashboard","icon":"table","pages":[{"title":"Version Dashboard","href":"/shared/version-compatibility-dashboard"}]},{"product":"Page templates","icon":"file-pen","hidden":true,"pages":[{"title":"Page templates","href":"/src/appdev/deep-dives/token-standard"}]}]},"basePath":"","title":"Repair Canton Nodes - Canton Network Docs","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}