25 lines
1.3 KiB
Handlebars
25 lines
1.3 KiB
Handlebars
|
{{#if (not version.hasDRReplication)}}
|
||
|
{{upgrade-page title="Replication"}}
|
||
|
{{else if (or cluster.allReplicationDisabled cluster.replicationAttrs.replicationDisabled)}}
|
||
|
{{partial 'partials/replication/enable'}}
|
||
|
{{else if showModeSummary}}
|
||
|
{{partial 'partials/replication/mode-summary'}}
|
||
|
{{else}}
|
||
|
{{#if (eq replicationAttrs.mode 'initializing')}}
|
||
|
The cluster is initializing replication. This may take some time.
|
||
|
{{else}}
|
||
|
{{info-table-row label="Mode" value=replicationAttrs.mode}}
|
||
|
{{info-table-row label="Replication set" value=replicationAttrs.clusterId}}
|
||
|
{{info-table-row label="Secondary ID" value=replicationAttrs.secondaryId}}
|
||
|
{{info-table-row label="State" value=replicationAttrs.state}}
|
||
|
{{info-table-row label="Primary cluster address" value=replicationAttrs.primaryClusterAddr}}
|
||
|
{{info-table-row label="Replication state" value=replicationAttrs.replicationState}}
|
||
|
{{info-table-row label="Last WAL entry" value=replicationAttrs.lastWAL}}
|
||
|
{{info-table-row label="Last Remote WAL entry" value=replicationAttrs.lastRemoteWAL}}
|
||
|
{{info-table-row label="Merkle root index" value=replicationAttrs.merkleRoot}}
|
||
|
{{#if replicationAttrs.syncProgress}}
|
||
|
{{info-table-row label="Sync progress" value=(concat replicationAttrs.syncProgress.progress '/' replicationAttrs.syncProgress.total)}}
|
||
|
{{/if}}
|
||
|
{{/if}}
|
||
|
{{/if}}
|