-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Indexing:ReplicationIssues and PRs related to core replication framework eg segrepIssues and PRs related to core replication framework eg segrepStorageIssues and PRs relating to data and metadata storageIssues and PRs relating to data and metadata storagebugSomething isn't workingSomething isn't workinguntriaged
Description
Describe the bug
On _cat/recovery pages the byte fields (bytes, bytes_recovered, bytes_total) are always displayed in the number of bytes and don't change when a bytes parameter is passed in.
https://opensearch.org/docs/latest/api-reference/cat/cat-recovery/
The units used to display byte values.
Valid values are: b, kb, k, mb, m, gb, g, tb, t, pb, p
Related component
No response
To Reproduce
http://localhost:9200/_cat/recovery?v
index shard time type stage source_host source_node target_host target_node repository snapshot files files_recovered files_percent files_total bytes bytes_recovered bytes_percent bytes_total translog_ops translog_ops_recovered translog_ops_percent
index123 0 517ms peer done 127.0.0.1 runTask-0 127.0.0.1 runTask-1 n/a n/a 40 40 100.0% 40 69220 69220 100.0% 69220 0 0 100.0%
http://localhost:9200/_cat/recovery?v&bytes=kb
index shard time type stage source_host source_node target_host target_node repository snapshot files files_recovered files_percent files_total bytes bytes_recovered bytes_percent bytes_total translog_ops translog_ops_recovered translog_ops_percent
index123 0 517ms peer done 127.0.0.1 runTask-0 127.0.0.1 runTask-1 n/a n/a 40 40 100.0% 40 69220 69220 100.0% 69220 0 0 100.0%
Expected behavior
Byte fields display bytes in the correct unit
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
- OS: [e.g. iOS]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Indexing:ReplicationIssues and PRs related to core replication framework eg segrepIssues and PRs related to core replication framework eg segrepStorageIssues and PRs relating to data and metadata storageIssues and PRs relating to data and metadata storagebugSomething isn't workingSomething isn't workinguntriaged
Type
Projects
Status
✅ Done