mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
19 lines
755 B
JavaScript
19 lines
755 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import { helper as buildHelper } from '@ember/component/helper';
|
|
|
|
const REPLICATION_MODE_DESCRIPTIONS = {
|
|
dr: 'Disaster Recovery Replication is designed to protect against catastrophic failure of entire clusters. Secondaries do not forward service requests until they are elected and become a new primary.',
|
|
performance:
|
|
'Performance Replication scales workloads horizontally across clusters to make requests faster. Local secondaries handle read requests but forward writes to the primary to be handled.',
|
|
};
|
|
|
|
export function replicationModeDescription([mode]) {
|
|
return REPLICATION_MODE_DESCRIPTIONS[mode];
|
|
}
|
|
|
|
export default buildHelper(replicationModeDescription);
|