Elasticsearch node.bandwidth.recovery.operator.factor.write Setting

The node.bandwidth.recovery.operator.factor.write setting in Elasticsearch controls the write bandwidth factor used during recovery operations. This setting helps manage the network bandwidth allocated for writing data during shard recovery processes.

  • Default value: 1.0
  • Possible values: Any positive float value
  • Recommendation: Adjust based on network capacity and recovery requirements

This setting allows you to fine-tune the write bandwidth used during recovery operations. A value of 1.0 means 100% of the estimated bandwidth will be used, while a value of 0.5 would use 50% of the estimated bandwidth.

Usage Example

To change this setting using the cluster settings API:

PUT _cluster/settings
{
  "transient": {
    "node.bandwidth.recovery.operator.factor.write": 0.8
  }
}

In this example, we're setting the write bandwidth factor to 0.8 (80% of the estimated bandwidth). This might be useful if you want to allocate more bandwidth for other operations or if you're experiencing network congestion during recovery processes.

Common Issues

  • Setting the value too low can significantly slow down recovery operations.
  • Setting the value too high might impact other network operations on the cluster.

Do's and Don'ts

  • Do monitor network usage and adjust this setting accordingly.
  • Do consider the impact on overall cluster performance when changing this value.
  • Don't set this value extremely high without considering the impact on other network operations.
  • Don't ignore this setting if you're experiencing slow recovery times or network congestion.

Frequently Asked Questions

Q: How does this setting affect recovery speed?
A: This setting directly impacts the amount of bandwidth used for writing data during recovery. A higher value can speed up recovery but may consume more network resources.

Q: Can changing this setting impact ongoing indexing operations?
A: Yes, if set too high, it might reduce available bandwidth for other operations, potentially slowing down indexing.

Q: Is it safe to change this setting on a production cluster?
A: Yes, but it should be done cautiously and monitored closely for any adverse effects on cluster performance.

Q: How does this setting interact with node.bandwidth.recovery.operator.factor?
A: While node.bandwidth.recovery.operator.factor affects overall recovery bandwidth, this setting specifically targets write operations during recovery.

Q: Should I adjust this setting if I have a high-speed network?
A: Even with a high-speed network, it's important to balance recovery speed with other operations. Start with the default and adjust if necessary based on monitoring and performance needs.

Subscribe to the Pulse Newsletter

Get early access to new Pulse features, insightful blogs & exclusive events , webinars, and workshops.

We use cookies to provide an optimized user experience and understand our traffic. To learn more, read our use of cookies; otherwise, please choose 'Accept Cookies' to continue using our website.