-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Include include_global_state in Snapshot status API. Closes #3258. #3276
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
Conversation
Mpdreamz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
russcam
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments
| [JsonProperty("repository")] | ||
| public string Repository { get; internal set; } | ||
| [JsonProperty("uuid")] | ||
| public string UID { get; internal set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UUID or UuId?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 to UUID
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
| [JsonProperty("state")] | ||
| public string State { get; internal set; } | ||
| [JsonProperty("include_global_state")] | ||
| public bool IncludeGlobalState { get; internal set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be bool?, considering Elasticsearch < 6.2.0 do not return this value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
|
Ported to 6.x |
Needs porting to
6.xand part of6.2release.Relates to: elastic/elasticsearch#26853
Example reference: https://github.com/liketic/elasticsearch/blob/ab0b127efd47b06aefea0eda27b99fd9d92abbe5/core/src/test/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotStatusTests.java