-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add is-write-index flag to aliases #30942
Changes from all commits
5838717
7baf86b
19315ff
440fed4
135d7c1
5bb7217
847bbe6
32ca015
07188f3
01fab60
c7a3a96
8df9bc8
4e898c1
1aac672
5ea9725
1c9e28f
4755a10
ae2b0c9
545c801
a614010
ee4142d
8c33d23
0025a51
373c1e5
ba1162c
a1391b2
91deba4
1629aef
f8dba0c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -173,7 +173,7 @@ public void onFailure(Exception e) { | |
static IndicesAliasesClusterStateUpdateRequest prepareRolloverAliasesUpdateRequest(String oldIndex, String newIndex, | ||
RolloverRequest request) { | ||
List<AliasAction> actions = unmodifiableList(Arrays.asList( | ||
new AliasAction.Add(newIndex, request.getAlias(), null, null, null), | ||
new AliasAction.Add(newIndex, request.getAlias(), null, null, null, null), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we can do this in the follow up but we shouldn't forget to carry over the index write flag of the alias. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah, that is a whole nother thing for Rollover to leverage this feature |
||
new AliasAction.Remove(oldIndex, request.getAlias()))); | ||
final IndicesAliasesClusterStateUpdateRequest updateRequest = new IndicesAliasesClusterStateUpdateRequest(actions) | ||
.ackTimeout(request.ackTimeout()) | ||
|
This comment was marked as resolved.
Sorry, something went wrong.