Skip to content

Commit

Permalink
Fix component name for ClusterState custom (opensearch-project#14477) (
Browse files Browse the repository at this point in the history
…opensearch-project#14485)

(cherry picked from commit 3a516cf)

Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent a9d806a commit 08bcf43
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,8 @@ private ClusterState readClusterStateInParallel(
for (Map.Entry<String, UploadedMetadataAttribute> entry : clusterStateCustomToRead.entrySet()) {
asyncMetadataReadActions.add(
remoteClusterStateAttributesManager.getAsyncMetadataReadAction(
CLUSTER_STATE_CUSTOM,
// pass component name as cluster-state-custom--<custom_name>, so that we can interpret it later
String.join(CUSTOM_DELIMITER, CLUSTER_STATE_CUSTOM, entry.getKey()),
new RemoteClusterStateCustoms(
entry.getValue().getUploadedFilename(),
entry.getValue().getAttributeName(),
Expand Down

0 comments on commit 08bcf43

Please sign in to comment.