From e0a9ff46a78cd8478b91d1fc08d8ce225f8c1ef7 Mon Sep 17 00:00:00 2001 From: Tim Vernum Date: Thu, 27 Feb 2025 12:43:39 +1100 Subject: [PATCH] Revert changes to DistributedArchitectureGuide.md This commit reverts the changes to docs/internal/DistributedArchitectureGuide.md These changes need to be redone in order to update the code links so that they point to a more recent version that includes the `Metadata.ClusterCustom` / `Metadata.ProjectCustom` split We also need to incorporate documentation updates to reflect the changes to PersistentTasks. --- docs/internal/DistributedArchitectureGuide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/internal/DistributedArchitectureGuide.md b/docs/internal/DistributedArchitectureGuide.md index 149142039b324..ed1b722dbb397 100644 --- a/docs/internal/DistributedArchitectureGuide.md +++ b/docs/internal/DistributedArchitectureGuide.md @@ -306,7 +306,7 @@ policies. ### How cluster capacity is determined -[AutoscalingMetadata][] implements [Metadata.ClusterCustom][] in order to persist autoscaling policies. Each +[AutoscalingMetadata][] implements [Metadata.Custom][] in order to persist autoscaling policies. Each Decider is an implementation of [AutoscalingDeciderService][]. The [AutoscalingCalculateCapacityService][] is responsible for running the calculation. @@ -322,7 +322,7 @@ calls [through the CapacityResponseCache][], into the `AutoscalingCalculateCapac concurrent callers. [AutoscalingMetadata]: https://github.com/elastic/elasticsearch/blob/v8.13.2/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/AutoscalingMetadata.java#L38 -[Metadata.ClusterCustom]: https://github.com/elastic/elasticsearch/blob/v8.13.2/server/src/main/java/org/elasticsearch/cluster/metadata/Metadata.java#L141-L145 +[Metadata.Custom]: https://github.com/elastic/elasticsearch/blob/v8.13.2/server/src/main/java/org/elasticsearch/cluster/metadata/Metadata.java#L141-L145 [AutoscalingDeciderService]: https://github.com/elastic/elasticsearch/blob/v8.13.2/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingDeciderService.java#L16-L19 [AutoscalingCalculateCapacityService]: https://github.com/elastic/elasticsearch/blob/v8.13.2/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingCalculateCapacityService.java#L43