Skip to content

[Backport 8.6] Replace integers with longs on indices stats types #2043

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 1 commit into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
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
30 changes: 15 additions & 15 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 15 additions & 15 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions specification/_types/Stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import { ShardFileSizeInfo } from '@indices/stats/types'
import { Dictionary } from '@spec_utils/Dictionary'
import { ByteSize, Field, Name, VersionString } from './common'
import { ErrorCause, ShardFailure } from './Errors'
import { ShardFailure } from './Errors'
import { integer, long, uint } from './Numeric'
import { Duration, DurationValue, UnitMillis } from '@_types/Time'

Expand Down Expand Up @@ -153,7 +153,7 @@ export class QueryCacheStats {
evictions: integer
hit_count: integer
memory_size?: ByteSize
memory_size_in_bytes: integer
memory_size_in_bytes: long
miss_count: integer
total_count: integer
}
Expand Down Expand Up @@ -206,37 +206,37 @@ export class SearchStats {
export class SegmentsStats {
count: integer
doc_values_memory?: ByteSize
doc_values_memory_in_bytes: integer
doc_values_memory_in_bytes: long
file_sizes: Dictionary<string, ShardFileSizeInfo>
fixed_bit_set?: ByteSize
fixed_bit_set_memory_in_bytes: integer
fixed_bit_set_memory_in_bytes: long
index_writer_memory?: ByteSize
index_writer_max_memory_in_bytes?: integer
index_writer_memory_in_bytes: integer
index_writer_max_memory_in_bytes?: long
index_writer_memory_in_bytes: long
max_unsafe_auto_id_timestamp: long
memory?: ByteSize
memory_in_bytes: integer
memory_in_bytes: long
norms_memory?: ByteSize
norms_memory_in_bytes: integer
norms_memory_in_bytes: long
points_memory?: ByteSize
points_memory_in_bytes: integer
points_memory_in_bytes: long
stored_memory?: ByteSize
stored_fields_memory_in_bytes: integer
terms_memory_in_bytes: integer
stored_fields_memory_in_bytes: long
terms_memory_in_bytes: long
terms_memory?: ByteSize
term_vectory_memory?: ByteSize
term_vectors_memory_in_bytes: integer
term_vectors_memory_in_bytes: long
version_map_memory?: ByteSize
version_map_memory_in_bytes: integer
version_map_memory_in_bytes: long
}

export class StoreStats {
size?: ByteSize
size_in_bytes: integer
size_in_bytes: long
reserved?: ByteSize
reserved_in_bytes: integer
reserved_in_bytes: long
total_data_set_size?: ByteSize
total_data_set_size_in_bytes?: integer
total_data_set_size_in_bytes?: long
}

export class TranslogStats {
Expand Down