Merge pull request #1249 from xumengpanda/mengxu/status/teamcollection-info
Status:healthy: Add optimizing_team_collections
This commit is contained in:
commit
9e4c780baa
|
@ -127,7 +127,7 @@ The following format informally describes the JSON containing the status data. T
|
||||||
"name": < "initializing"
|
"name": < "initializing"
|
||||||
| "missing_data"
|
| "missing_data"
|
||||||
| "healing"
|
| "healing"
|
||||||
| "removing_redundant_teams"
|
| "optimizing_team_collections"
|
||||||
| "healthy_repartitioning"
|
| "healthy_repartitioning"
|
||||||
| "healthy_removing_server"
|
| "healthy_removing_server"
|
||||||
| "healthy_rebalancing"
|
| "healthy_rebalancing"
|
||||||
|
|
|
@ -7,7 +7,7 @@ Release Notes
|
||||||
|
|
||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
Improved replication mechanism, a new hierarchical replication technique that further significantly reduces the frequency of data loss events even when multiple machines (e.g., fault-tolerant zones in the current code) permanently fail at the same time. `(PR #964) <https://github.com/apple/foundationdb/pull/964>`.
|
* Improved replication mechanism, a new hierarchical replication technique that further significantly reduces the frequency of data loss events even when multiple machines (e.g., fault-tolerant zones in the current code) permanently fail at the same time. `(PR #964) <https://github.com/apple/foundationdb/pull/964>`.
|
||||||
|
|
||||||
|
|
||||||
* Get read version, read, and commit requests are counted and aggregated by server-side latency in configurable latency bands and output in JSON status. `(PR #1084) <https://github.com/apple/foundationdb/pull/1084>`_
|
* Get read version, read, and commit requests are counted and aggregated by server-side latency in configurable latency bands and output in JSON status. `(PR #1084) <https://github.com/apple/foundationdb/pull/1084>`_
|
||||||
|
|
|
@ -521,7 +521,7 @@ const KeyRef JSONSchemas::statusSchema = LiteralStringRef(R"statusSchema(
|
||||||
"initializing",
|
"initializing",
|
||||||
"missing_data",
|
"missing_data",
|
||||||
"healing",
|
"healing",
|
||||||
"removing_redundant_teams",
|
"optimizing_team_collections",
|
||||||
"healthy_repartitioning",
|
"healthy_repartitioning",
|
||||||
"healthy_removing_server",
|
"healthy_removing_server",
|
||||||
"healthy_rebalancing",
|
"healthy_rebalancing",
|
||||||
|
@ -554,7 +554,7 @@ const KeyRef JSONSchemas::statusSchema = LiteralStringRef(R"statusSchema(
|
||||||
"initializing",
|
"initializing",
|
||||||
"missing_data",
|
"missing_data",
|
||||||
"healing",
|
"healing",
|
||||||
"removing_redundant_teams",
|
"optimizing_team_collections",
|
||||||
"healthy_repartitioning",
|
"healthy_repartitioning",
|
||||||
"healthy_removing_server",
|
"healthy_removing_server",
|
||||||
"healthy_rebalancing",
|
"healthy_rebalancing",
|
||||||
|
|
|
@ -1204,8 +1204,8 @@ ACTOR static Future<JsonBuilderObject> dataStatusFetcher(std::pair<WorkerInterfa
|
||||||
}
|
}
|
||||||
else if (highestPriority >= PRIORITY_TEAM_REDUNDANT) {
|
else if (highestPriority >= PRIORITY_TEAM_REDUNDANT) {
|
||||||
stateSectionObj["healthy"] = true;
|
stateSectionObj["healthy"] = true;
|
||||||
stateSectionObj["name"] = "removing_redundant_teams";
|
stateSectionObj["name"] = "optimizing_team_collections";
|
||||||
stateSectionObj["description"] = "Removing redundant machine teams";
|
stateSectionObj["description"] = "Optimizing team collections";
|
||||||
}
|
}
|
||||||
else if (highestPriority >= PRIORITY_MERGE_SHARD) {
|
else if (highestPriority >= PRIORITY_MERGE_SHARD) {
|
||||||
stateSectionObj["healthy"] = true;
|
stateSectionObj["healthy"] = true;
|
||||||
|
|
Loading…
Reference in New Issue