-
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
Get snapshot API returns duplicate information for .fleet-actions-results
system data stream
#111146
Comments
Pinging @elastic/es-data-management (Team:Data Management) |
It doesn't look like the duplicates are due to a bug in the get snapshot API. It looks like the duplicate info is persisted in the repository. I started ES locally with
I triggered the creation of that system data stream with
I created a local FS snapshot repository with
I triggered a snapshot with
N.B. You can already see the duplicate data stream names in the response:
I called the get stapshot API with
You can see the duplicate data stream names in the response, as above. Now, if we debug this, we see that at this call stack:
we are doing
and the value of
|
Since it looks like this is down to what's stored in the repository rather than a hallucination of the GET API, I think that @elastic/es-distributed should take a look. I'm going to change the labels accordingly — please change back if you disagree. |
Pinging @elastic/es-distributed (Team:Distributed) |
Yeah I can confirm this is a bug in creating snapshot. In the following code, we concate the resolved datastream names with system data stream names without duplicating. elasticsearch/server/src/main/java/org/elasticsearch/snapshots/SnapshotsService.java Lines 4147 to 4149 in 92ecd36
Fortunately, this bug should not have significant consequences other than the duplicated output in the API response. |
Elasticsearch Version
8.14.3
Installed Plugins
No response
Java Version
bundled
OS Version
N.A
Problem Description
Get snapshot API returns duplicate information for
.fleet-actions-results
system data stream.c.f JSON response below:
Could be related to #89261 and #71667
Steps to Reproduce
.fleet-actions-results
system data stream is created with the respective backing indices.fleet-actions-results
system data stream in Get snapshot API outputLogs (if relevant)
No response
The text was updated successfully, but these errors were encountered: