-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix #3330 Add additional translog properties as per elastic/elasticsearch#28613… #3358
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
…and add properties we weren't mapping
Travis failures look like an intermittent VM bootstrap issue, kicked them off again. |
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.
Just a couple of small comments.
More generally, should the setters for new properties be private
?
public long UncommittedSizeInBytes { get; set; } | ||
|
||
[JsonProperty("earliest_last_modified_age")] | ||
public long EarliestLastModifiedAge { get; 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.
Maybe a comment to indicate that this is valid only for Elasticsearch 6.3.0+? (or maybe long?
)
@@ -8,11 +8,23 @@ public class TranslogStats | |||
[JsonProperty("operations")] | |||
public long Operations { get; set; } | |||
|
|||
[JsonProperty("uncommitted_operations")] | |||
public long UncommittedOperations { get; 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.
slight nit: Should this be an int
?
…arch#28613… (#3358) This commit adds additional translog properties as per elastic/elasticsearch#28613 and add properties we weren't mapping
…arch#28613… (#3358) This commit adds additional translog properties as per elastic/elasticsearch#28613 and add properties we weren't mapping
…arch#28613… (#3358) This commit adds additional translog properties as per elastic/elasticsearch#28613 and add properties we weren't mapping (cherry picked from commit 7ff63ab)
… and add properties we weren't mapping
Implements #3330