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>
Signed-off-by: kkewwei <kkewwei@163.com>
  • Loading branch information
2 people authored and kkewwei committed Jul 24, 2024
1 parent 2f2dd04 commit 1d550df
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 1d550df

Please sign in to comment.