-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
IndexingIndexing, Bulk Indexing and anything related to indexingIndexing, Bulk Indexing and anything related to indexingOtherbugSomething isn't workingSomething isn't working
Description
Describe the bug
I basically ran into elastic/elasticsearch#27689 almost exactly.
# 1) Put an index
PUT some-concrete-index
# 2) no alias exists yet
GET some-concrete-index/_alias
# 3) add an alias, then remove it
POST /_aliases
{
"actions": [
{
"add": {
"index": "some-concrete-index",
"alias": "oci-cmdb_service_members"
}
},
{
"remove": {
"index": "some-concrete-index",
"alias": "oci-cmdb_service_members"
}
}
]
}
# 4) Order shouldn't matter, and it does not seem to, as the alias now exists
GET some-concrete-index/_alias
#5) Execute the same operation again:
POST /_aliases
{
"actions": [
{
"add": {
"index": "some-concrete-index",
"alias": "oci-cmdb_service_members"
}
},
{
"remove": {
"index": "some-concrete-index",
"alias": "oci-cmdb_service_members"
}
}
]
}
#6) The alias is removed now
GET some-concrete-index/_alias
Related component
Other
To Reproduce
See above.
Expected behavior
I expected the actions to resolve in order.
Additional Details
This is running on aws opensearch serverless.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
IndexingIndexing, Bulk Indexing and anything related to indexingIndexing, Bulk Indexing and anything related to indexingOtherbugSomething isn't workingSomething isn't working