Comments (2)
To be more explicit, I got logs from my own system. Here are the actions:
Making the following alias modifications: [
{
remove: { index: 'indexedinstance', alias: 'current-published-instance' }
},
{
add: {
index: 'indexedinstance',
alias: 'current-published-instance',
filter: undefined,
is_write_index: true
}
}
]
and then when I run
30 // Get the mappings.
31 const mappings = await client.cat.aliases();
32 console.log(JSON.stringify(mappings, null, 2));
I get
{
"body": "",
"statusCode": 200,
"headers": {
"content-type": "text/plain; charset=UTF-8",
"content-length": "0",
"x-envoy-upstream-service-time": "17",
"date": "Sat, 22 Jun 2024 03:05:22 GMT",
"server": "aoss-amazon-m",
"x-request-id": "865cd86d-77ce-9a30-a215-3fbbc77d49d2"
},
"meta": {
"context": null,
"request": {
"params": {
"method": "GET",
"path": "/_cat/aliases",
"body": null,
"querystring": "",
"headers": {
"user-agent": "opensearch-js/2.3.1 (linux 5.15.0-1041-aws-x64; Node.js v17.9.1)"
},
"timeout": 30000
},
"options": {},
"id": 1
},
"name": "opensearch-js",
...
from opensearch.
Looks like a bug. @theahura Want to try and write a YAML REST test for it?
https://github.com/opensearch-project/OpenSearch/blob/main/TESTING.md#testing-the-rest-layer
from opensearch.
Related Issues (20)
- [Refactor] Consider removing the `opensearch-dashboards` module from this repo
- [AUTOCUT] Gradle Check Flaky Test Report for ICacheKeySerializerTests
- [AUTOCUT] Gradle Check Flaky Test Report for LangPainlessClientYamlTestSuiteIT
- [BUG] Option in NodesStatsRequest to return per-shard stats in response
- [AUTOCUT] Gradle Check Flaky Test Report for RecoveryWhileUnderLoadIT HOT 1
- [Feature Request] Reindex should use each shard to perform slice tasks instead of coordination node
- [BUG] Parsing a GetResult returns NPE if "found" field is missing HOT 5
- [BUG] Unexpected failure while sending request, -84 is not a valid id HOT 9
- [BUG] [OPENSEARCH] [AWS] - Error while deleting snapshot on S3 HOT 1
- [RFC] - OpenSearch Table HOT 2
- [AUTOCUT] Gradle Check Flaky Test Report for PitMultiNodeIT HOT 1
- Regex Pattern in painless script in ingest pipeline giving "unexpected value type [class [Ljava.lang.String;]" HOT 2
- [Feature Request] Move query categorization to query insights plugin
- [Remote Cluster State] Batching for reading cluster state entities from remote
- [BUG] In-efficient approach for checking if a unassigned shard is from a batch being processed
- [BUG] CERTIFICATE_VERIFY_FAILED after deploying docker opensearch with self signed certificates HOT 1
- Add primary preference to be set as an index setting for the warm index HOT 2
- [BUG] org.opensearch.cache.common.tier.TieredSpilloverCacheTests.testComputeIfAbsentConcurrently is flaky
- Implement PoC for hot to warm migration - dedicated setup HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opensearch.