Skip to content

Commit

Permalink
Fix #3330 Add additional translog properties as per elastic/elasticse…
Browse files Browse the repository at this point in the history
…arch#28613… (#3358)

This commit adds additional translog properties as per elastic/elasticsearch#28613 and add properties we weren't mapping
  • Loading branch information
Mpdreamz committed Sep 3, 2018
1 parent 5cc9a51 commit 7ff63ab
Showing 1 changed file with 15 additions and 1 deletion.
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; }
}
}
}

0 comments on commit 7ff63ab

Please sign in to comment.