Skip to content

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

Merged
merged 2 commits into from
Aug 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion src/Nest/CommonOptions/Stats/TranslogStats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,25 @@ public class TranslogStats
[JsonProperty("operations")]
public long Operations { get; set; }

[JsonProperty("uncommitted_operations")]
public int UncommittedOperations { get; set; }

[JsonProperty("size")]
public string Size { get; set; }

[JsonProperty("size_in_bytes")]
public long SizeInBytes { get; set; }

[JsonProperty("uncommitted_size")]
public string UncommittedSize { get; set; }

[JsonProperty("uncommitted_size_in_bytes")]
public long UncommittedSizeInBytes { get; set; }

/// <remarks>
/// Valid only for Elasticsearch 6.3.0+
/// </remarks>
[JsonProperty("earliest_last_modified_age")]
public long EarliestLastModifiedAge { get; set; }
}
}
}