Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into async-flush
Browse files Browse the repository at this point in the history
  • Loading branch information
fcofdez committed Nov 27, 2023
2 parents c4494ab + 37b7dd9 commit c1a703f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
5 changes: 5 additions & 0 deletions docs/changelog/102636.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102636
summary: Revert non-semantic `NodeInfo`
area: Infra/Core
type: regression
issues: []
9 changes: 8 additions & 1 deletion docs/reference/modules/cluster/shards_allocation.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,13 @@ The minimum improvement in weight which triggers a rebalancing shard movement.
Defaults to `1.0f`. Raising this value will cause {es} to stop rebalancing
shards sooner, leaving the cluster in a more unbalanced state.

NOTE: Regardless of the result of the balancing algorithm, rebalancing might
[NOTE]
====
* It is not recommended to adjust the values of the heuristics settings. The
default values are generally good, and although different values may improve
the current balance, it is possible that they create problems in the future
if the cluster or workload changes.
* Regardless of the result of the balancing algorithm, rebalancing might
not be allowed due to allocation rules such as forced awareness and allocation
filtering.
====
4 changes: 3 additions & 1 deletion server/src/main/java/org/elasticsearch/node/NodeService.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import org.elasticsearch.Build;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.Version;
import org.elasticsearch.action.admin.cluster.node.info.ComponentVersionNumber;
import org.elasticsearch.action.admin.cluster.node.info.NodeInfo;
import org.elasticsearch.action.admin.cluster.node.stats.NodeStats;
Expand Down Expand Up @@ -117,7 +118,8 @@ public NodeInfo info(
boolean indices
) {
return new NodeInfo(
Build.current().version(),
// TODO: revert to Build.current().version() when Kibana is updated
Version.CURRENT.toString(),
TransportVersion.current(),
IndexVersion.current(),
findComponentVersions(),
Expand Down

0 comments on commit c1a703f

Please sign in to comment.