forked from oxidecomputer/omicron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into clickhouse-server-smf
- Loading branch information
Showing
55 changed files
with
1,710 additions
and
455 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
|
||
//! Fleet policy related functionality used by both Reconfigurator and RSS. | ||
/// The amount of redundancy for boundary NTP servers. | ||
pub const BOUNDARY_NTP_REDUNDANCY: usize = 2; | ||
|
||
/// The amount of redundancy for Nexus services. | ||
/// | ||
/// This is used by both RSS (to distribute the initial set of services) and the | ||
/// Reconfigurator (to know whether to add new Nexus zones) | ||
pub const NEXUS_REDUNDANCY: usize = 3; | ||
|
||
/// The amount of redundancy for CockroachDb services. | ||
/// | ||
/// This is used by both RSS (to distribute the initial set of services) and the | ||
/// Reconfigurator (to know whether to add new crdb zones) | ||
pub const COCKROACHDB_REDUNDANCY: usize = 5; | ||
|
||
/// The amount of redundancy for internal DNS servers. | ||
/// | ||
/// Must be less than or equal to MAX_DNS_REDUNDANCY. | ||
pub const DNS_REDUNDANCY: usize = 3; | ||
|
||
/// The maximum amount of redundancy for DNS servers. | ||
/// | ||
/// This determines the number of addresses which are reserved for DNS servers. | ||
pub const MAX_DNS_REDUNDANCY: usize = 5; | ||
|
||
/// The amount of redundancy for clickhouse servers | ||
/// | ||
/// Clickhouse servers contain lazily replicated data | ||
pub const CLICKHOUSE_SERVER_REDUNDANCY: usize = 3; | ||
|
||
/// The amount of redundancy for clickhouse keepers | ||
/// | ||
/// Keepers maintain strongly consistent metadata about data replication | ||
pub const CLICKHOUSE_KEEPER_REDUNDANCY: usize = 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.