Commit b36a042
Limit ByteSizeUnit to 2 decimals (elastic#120142)
* Exhaustive testParseFractionalNumber
* Refactor: encapsulate ByteSizeUnit constructor
* Refactor: store size in bytes
* Support up to 2 decimals in parsed ByteSizeValue
* Fix test for rounding up with no warnings
* ByteSizeUnit transport changes
* Update docs/changelog/120142.yaml
* Changelog details and impact
* Fix change log breaking.area
* Address PR comments1 parent f968c9f commit b36a042
File tree
119 files changed
+643
-490
lines changed- benchmarks/src/main/java/org/elasticsearch/benchmark/bytes
- docs/changelog
- modules
- ingest-common/src/test/java/org/elasticsearch/ingest/common
- reindex/src/test/java/org/elasticsearch/reindex/remote
- repository-azure/src
- internalClusterTest/java/org/elasticsearch/repositories/azure
- main/java/org/elasticsearch/repositories/azure
- test/java/org/elasticsearch/repositories/azure
- repository-gcs/src
- internalClusterTest/java/org/elasticsearch/repositories/gcs
- main/java/org/elasticsearch/repositories/gcs
- repository-s3/src
- main/java/org/elasticsearch/repositories/s3
- test/java/org/elasticsearch/repositories/s3
- repository-url/src/main/java/org/elasticsearch/common/blobstore/url
- transport-netty4/src
- internalClusterTest/java/org/elasticsearch/http/netty4
- main/java/org/elasticsearch/transport/netty4
- server/src
- internalClusterTest/java/org/elasticsearch
- action
- admin/indices/rollover
- bulk
- cluster/routing/allocation
- decider
- index
- shard
- store
- indices
- memory/breaker
- recovery
- settings
- state
- recovery
- repositories/fs
- snapshots
- main/java/org/elasticsearch
- action/bulk
- common/unit
- http
- index
- engine
- shard
- translog
- indices
- recovery
- monitor/fs
- search
- threadpool
- transport
- test/java/org/elasticsearch
- action
- admin/indices
- rollover
- shrink
- bulk
- common
- settings
- unit
- util
- index
- translog
- indices
- breaker
- recovery
- test/framework/src/main/java/org/elasticsearch/test
- x-pack/plugin
- analytics/src/test/java/org/elasticsearch/xpack/analytics/topmetrics
- autoscaling/src
- internalClusterTest/java/org/elasticsearch/xpack/autoscaling
- test/java/org/elasticsearch/xpack/autoscaling/shards
- ccr/src
- internalClusterTest/java/org/elasticsearch/xpack/ccr
- main/java/org/elasticsearch/xpack/ccr
- action
- rest
- test/java/org/elasticsearch/xpack/ccr/action
- core/src/test/java/org/elasticsearch/xpack/core
- ilm
- ml
- action
- dataframe
- explain
- job/config
- downsample/src/main/java/org/elasticsearch/xpack/downsample
- inference/src
- main/java/org/elasticsearch/xpack/inference/external/http
- test/java/org/elasticsearch/xpack/inference/common
- ml-package-loader/src/main/java/org/elasticsearch/xpack/ml/packageloader/action
- monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster
- searchable-snapshots/src
- internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots
- allocation
- cache/blob
- main/java/org/elasticsearch/xpack/searchablesnapshots
- cache/full
- store
- test/java/org/elasticsearch/xpack/searchablesnapshots
- store
- input
- watcher/src
- main/java/org/elasticsearch/xpack/watcher
- common/http
- test/java/org/elasticsearch/xpack/watcher/common/http
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
119 files changed
+643
-490
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 80 | + | |
84 | 81 | | |
85 | 82 | | |
modules/reindex/src/test/java/org/elasticsearch/reindex/remote/RemoteScrollableHitSourceTests.java
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
| 441 | + | |
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
| 110 | + | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments