File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
src/Nest/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -85,10 +85,25 @@ public class SnapshotShardsStats
8585
8686 public class SnapshotStats
8787 {
88+ [ DataMember ( Name = "incremental" ) ]
89+ public FileCountSnapshotStats Incremental { get ; internal set ; }
90+
91+ [ DataMember ( Name = "total" ) ]
92+ public FileCountSnapshotStats Total { get ; internal set ; }
93+
8894 [ DataMember ( Name = "start_time_in_millis" ) ]
8995 public long StartTimeInMilliseconds { get ; internal set ; }
9096
9197 [ DataMember ( Name = "time_in_millis" ) ]
9298 public long TimeInMilliseconds { get ; internal set ; }
9399 }
100+
101+ public class FileCountSnapshotStats
102+ {
103+ [ DataMember ( Name = "file_count" ) ]
104+ public int FileCount { get ; internal set ; }
105+
106+ [ DataMember ( Name = "size_in_bytes" ) ]
107+ public long SizeInBytes { get ; internal set ; }
108+ }
94109}
You can’t perform that action at this time.
0 commit comments