Skip to content

Commit 3ea1dc3

Browse files
Mpdreamzrusscam
authored andcommitted
Fix #3330 Add additional translog properties as per elastic/elasticsearch#28613… (#3358)
This commit adds additional translog properties as per elastic/elasticsearch#28613 and add properties we weren't mapping
1 parent 0e86f0b commit 3ea1dc3

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

src/Nest/CommonOptions/Stats/TranslogStats.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,25 @@ public class TranslogStats
88
[JsonProperty("operations")]
99
public long Operations { get; set; }
1010

11+
[JsonProperty("uncommitted_operations")]
12+
public int UncommittedOperations { get; set; }
13+
1114
[JsonProperty("size")]
1215
public string Size { get; set; }
1316

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

20+
[JsonProperty("uncommitted_size")]
21+
public string UncommittedSize { get; set; }
22+
23+
[JsonProperty("uncommitted_size_in_bytes")]
24+
public long UncommittedSizeInBytes { get; set; }
25+
26+
/// <remarks>
27+
/// Valid only for Elasticsearch 6.3.0+
28+
/// </remarks>
29+
[JsonProperty("earliest_last_modified_age")]
30+
public long EarliestLastModifiedAge { get; set; }
1731
}
18-
}
32+
}

0 commit comments

Comments
 (0)