Skip to content
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

Incorrect version value in Get snapshot API #107821

Closed
Kxrr opened this issue Apr 24, 2024 · 2 comments · Fixed by #107828
Closed

Incorrect version value in Get snapshot API #107821

Kxrr opened this issue Apr 24, 2024 · 2 comments · Fixed by #107828
Labels
>bug :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team

Comments

@Kxrr
Copy link
Contributor

Kxrr commented Apr 24, 2024

Elasticsearch Version

8.13.2

Installed Plugins

No response

Java Version

bundled

OS Version

macOS 12.6 arm64

Problem Description

I got a incorrect version value in Get snapshot API.

The version value I expected should be 8.13.2 but got 8503000.

{
  "snapshots": [
    {
      "snapshot": "snapshot-hsjzkg",
      "uuid": "SW36jieIQXqUf_BnIq_AOw",
      "repository": "repository-jrxm",
      "version_id": 8503000,
      "version": "8503000",
      "indices": [
        "index-yzdp"
      ],
      "data_streams": [
        
      ],
      "include_global_state": true,
      "state": "SUCCESS",
      "start_time": "2024-04-24T08:35:41.777Z",
      "start_time_in_millis": 1713947741777,
      "end_time": "2024-04-24T08:35:42.593Z",
      "end_time_in_millis": 1713947742593,
      "duration_in_millis": 816,
      "failures": [
        
      ],
      "shards": {
        "total": 8,
        "failed": 0,
        "successful": 8
      },
      "feature_states": [
        
      ]
    }
  ],
  "total": 1,
  "remaining": 0
}

And the latest document said the version value is float type which seems to be wrong too.

image

Steps to Reproduce

  1. backup a index on ES 8.13.2
  2. access Get snapshot API to get snapshot info

Logs (if relevant)

No response

@Kxrr Kxrr added >bug needs:triage Requires assignment of a team area label labels Apr 24, 2024
@DaveCTurner DaveCTurner added :Core/Infra/Core Core issues without another label and removed needs:triage Requires assignment of a team area label labels Apr 24, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Apr 24, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@DaveCTurner
Copy link
Contributor

Kinda a snapshot/restore issue but really it relates to the recent core/infra project on versions, see e.g. #106795

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants