Skip to content

Commit 9ccaf49

Browse files
stevejgordongithub-actions[bot]
authored andcommitted
Replace integers with longs on indices stats types (#2039)
1 parent d1752b4 commit 9ccaf49

File tree

3 files changed

+46
-46
lines changed

3 files changed

+46
-46
lines changed

output/schema/schema.json

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/Stats.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import { ShardFileSizeInfo } from '@indices/stats/types'
2121
import { Dictionary } from '@spec_utils/Dictionary'
2222
import { ByteSize, Field, Name, VersionString } from './common'
23-
import { ErrorCause, ShardFailure } from './Errors'
23+
import { ShardFailure } from './Errors'
2424
import { double, integer, long, uint } from './Numeric'
2525
import { Duration, DurationValue, UnitMillis } from '@_types/Time'
2626

@@ -153,7 +153,7 @@ export class QueryCacheStats {
153153
evictions: integer
154154
hit_count: integer
155155
memory_size?: ByteSize
156-
memory_size_in_bytes: integer
156+
memory_size_in_bytes: long
157157
miss_count: integer
158158
total_count: integer
159159
}
@@ -206,37 +206,37 @@ export class SearchStats {
206206
export class SegmentsStats {
207207
count: integer
208208
doc_values_memory?: ByteSize
209-
doc_values_memory_in_bytes: integer
209+
doc_values_memory_in_bytes: long
210210
file_sizes: Dictionary<string, ShardFileSizeInfo>
211211
fixed_bit_set?: ByteSize
212-
fixed_bit_set_memory_in_bytes: integer
212+
fixed_bit_set_memory_in_bytes: long
213213
index_writer_memory?: ByteSize
214-
index_writer_max_memory_in_bytes?: integer
215-
index_writer_memory_in_bytes: integer
214+
index_writer_max_memory_in_bytes?: long
215+
index_writer_memory_in_bytes: long
216216
max_unsafe_auto_id_timestamp: long
217217
memory?: ByteSize
218-
memory_in_bytes: integer
218+
memory_in_bytes: long
219219
norms_memory?: ByteSize
220-
norms_memory_in_bytes: integer
220+
norms_memory_in_bytes: long
221221
points_memory?: ByteSize
222-
points_memory_in_bytes: integer
222+
points_memory_in_bytes: long
223223
stored_memory?: ByteSize
224-
stored_fields_memory_in_bytes: integer
225-
terms_memory_in_bytes: integer
224+
stored_fields_memory_in_bytes: long
225+
terms_memory_in_bytes: long
226226
terms_memory?: ByteSize
227227
term_vectory_memory?: ByteSize
228-
term_vectors_memory_in_bytes: integer
228+
term_vectors_memory_in_bytes: long
229229
version_map_memory?: ByteSize
230-
version_map_memory_in_bytes: integer
230+
version_map_memory_in_bytes: long
231231
}
232232

233233
export class StoreStats {
234234
size?: ByteSize
235-
size_in_bytes: integer
235+
size_in_bytes: long
236236
reserved?: ByteSize
237-
reserved_in_bytes: integer
237+
reserved_in_bytes: long
238238
total_data_set_size?: ByteSize
239-
total_data_set_size_in_bytes?: integer
239+
total_data_set_size_in_bytes?: long
240240
}
241241

242242
export class TranslogStats {

0 commit comments

Comments
 (0)