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

Fix #3330 Add additional translog properties as per elastic/elasticsearch#28613… #3358

Merged
merged 2 commits into from Aug 20, 2018

Conversation

Mpdreamz
Copy link
Member

… and add properties we weren't mapping

Implements #3330

@Mpdreamz Mpdreamz changed the title add additional translog properties as per elastic/elasticsearch#28613… Fix #3330 Add additional translog properties as per elastic/elasticsearch#28613… Aug 12, 2018
@Mpdreamz
Copy link
Member Author

Travis failures look like an intermittent VM bootstrap issue, kicked them off again.

Copy link
Contributor

@russcam russcam left a 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; }
Copy link
Contributor

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; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@russcam russcam merged commit 3ea1dc3 into 6.3 Aug 20, 2018
@russcam russcam deleted the feature/translog-stats-6.3 branch August 24, 2018 06:47
Mpdreamz added a commit that referenced this pull request Sep 3, 2018
…arch#28613… (#3358)

This commit adds additional translog properties as per elastic/elasticsearch#28613 and add properties we weren't mapping
Mpdreamz added a commit that referenced this pull request Sep 3, 2018
…arch#28613… (#3358)

This commit adds additional translog properties as per elastic/elasticsearch#28613 and add properties we weren't mapping
Mpdreamz added a commit that referenced this pull request Sep 6, 2018
…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)
@Mpdreamz Mpdreamz mentioned this pull request Sep 10, 2018
45 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants