Commit f06dc63
authored
Report shared_cache shards as zero size on disk (#69820)
Searchable snapshot shards that are using the shared_cache are not actually consuming as much disk space as they
report today in the "store" section of the node/indices stats. This blocks plan changes on Cloud as they check if the new
nodes have enough disk space to host all the (at least primary) shards from the old nodes. With this change here,
searchable snapshot shards that are using the shared_cache will report 0 as store size.1 parent f631008 commit f06dc63
File tree
2 files changed
+8
-9
lines changed- server/src/main/java/org/elasticsearch/index/shard
- x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots
2 files changed
+8
-9
lines changedLines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1054 | 1054 | | |
1055 | 1055 | | |
1056 | 1056 | | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
1057 | 1061 | | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
1067 | 1065 | | |
1068 | 1066 | | |
1069 | 1067 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
| 518 | + | |
518 | 519 | | |
519 | 520 | | |
520 | 521 | | |
| |||
0 commit comments