Skip to content

Commit aa7d70e

Browse files
authored
fix: only single index is assigned to rollup index after rollover (#410)
1 parent 78aa04c commit aa7d70e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

workflow-cli/configuration-opensearch/state_management_policy/nrm-type-accessrollup-rollover-policy.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,28 @@
1616
}
1717
}
1818
],
19+
"transitions": [{
20+
"state_name": "alias",
21+
"conditions": {
22+
"min_doc_count": "2"
23+
}
24+
}]
25+
},
26+
{
27+
"name": "alias",
28+
"actions": [
29+
{
30+
"alias": {
31+
"actions": [
32+
{
33+
"remove": {
34+
"alias": "nrm-accessrollup"
35+
}
36+
}
37+
]
38+
}
39+
}
40+
],
1941
"transitions": [
2042
{
2143
"state_name": "force_merge_standby",

0 commit comments

Comments
 (0)