Skip to content

Commit

Permalink
Use _primary_first instead
Browse files Browse the repository at this point in the history
Signed-off-by: gaobinlong <gbinlong@amazon.com>
  • Loading branch information
gaobinlong committed Aug 31, 2023
1 parent 1560d15 commit 767fd6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class TransportGetLRONConfigAction @Inject constructor(
val searchRequest = SearchRequest()
.source(searchSourceBuilder)
.indices(IndexManagementPlugin.CONTROL_CENTER_INDEX)
.preference(Preference.PRIMARY.type())
.preference(Preference.PRIMARY_FIRST.type())

client.search(
searchRequest,
Expand Down

0 comments on commit 767fd6e

Please sign in to comment.