115 lines
5.1 KiB
Plaintext
115 lines
5.1 KiB
Plaintext
[[reference-shared-types-ccr-types]]
|
|
|
|
////////
|
|
===========================================================================================================================
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
|
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
|
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
|
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
|
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
|
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
|
|| ||
|
|
|| ||
|
|
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
|
|| You should update the script that does the generation, which can be found in: ||
|
|
|| https://github.com/elastic/elastic-client-generator-js ||
|
|
|| ||
|
|
|| You can run the script with the following command: ||
|
|
|| npm run elasticsearch -- --version <version> ||
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
===========================================================================================================================
|
|
////////
|
|
|
|
|
|
|
|
== Shared Ccr types
|
|
|
|
|
|
[discrete]
|
|
[[CcrFollowIndexStats]]
|
|
=== CcrFollowIndexStats
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
interface CcrFollowIndexStats {
|
|
index: <<IndexName>>
|
|
shards: <<CcrShardStats>>[]
|
|
}
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|
|
|
|
[discrete]
|
|
[[CcrReadException]]
|
|
=== CcrReadException
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
interface CcrReadException {
|
|
exception: <<ErrorCause>>
|
|
from_seq_no: <<SequenceNumber>>
|
|
retries: <<integer>>
|
|
}
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|
|
|
|
[discrete]
|
|
[[CcrShardStats]]
|
|
=== CcrShardStats
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
interface CcrShardStats {
|
|
bytes_read: <<long>>
|
|
failed_read_requests: <<long>>
|
|
failed_write_requests: <<long>>
|
|
fatal_exception?: <<ErrorCause>>
|
|
follower_aliases_version: <<VersionNumber>>
|
|
follower_global_checkpoint: <<long>>
|
|
follower_index: string
|
|
follower_mapping_version: <<VersionNumber>>
|
|
follower_max_seq_no: <<SequenceNumber>>
|
|
follower_settings_version: <<VersionNumber>>
|
|
last_requested_seq_no: <<SequenceNumber>>
|
|
leader_global_checkpoint: <<long>>
|
|
leader_index: string
|
|
leader_max_seq_no: <<SequenceNumber>>
|
|
operations_read: <<long>>
|
|
operations_written: <<long>>
|
|
outstanding_read_requests: <<integer>>
|
|
outstanding_write_requests: <<integer>>
|
|
read_exceptions: <<CcrReadException>>[]
|
|
remote_cluster: string
|
|
shard_id: <<integer>>
|
|
successful_read_requests: <<long>>
|
|
successful_write_requests: <<long>>
|
|
time_since_last_read?: <<Duration>>
|
|
time_since_last_read_millis: <<DurationValue>><<<UnitMillis>>>
|
|
total_read_remote_exec_time?: <<Duration>>
|
|
total_read_remote_exec_time_millis: <<DurationValue>><<<UnitMillis>>>
|
|
total_read_time?: <<Duration>>
|
|
total_read_time_millis: <<DurationValue>><<<UnitMillis>>>
|
|
total_write_time?: <<Duration>>
|
|
total_write_time_millis: <<DurationValue>><<<UnitMillis>>>
|
|
write_buffer_operation_count: <<long>>
|
|
write_buffer_size_in_bytes: <<ByteSize>>
|
|
}
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|