skip_unavailable changes from true to false when remote connection fails #107125
Labels
>bug
:Distributed/Network
Http and internode communication implementations
Team:Distributed
Meta label for distributed team
Elasticsearch Version
8.12.2
Installed Plugins
No response
Java Version
bundled
OS Version
linux
Problem Description
There is a behavior in Elasticsearch where the skip_unavailable setting for a remote cluster connection is automatically reset to false when an incorrect remote cluster address is configured. After correcting the connection details, the skip_unavailable setting does not revert to true, even if it was previously set to that value. Instead, it requires an explicit reconfiguration to set it back to true.
Steps to Reproduce
Verify the configuration, note that
skip_unavailable
istrue
.Introduce an error by setting an incorrect remote cluster address:
skip_unavailable
is automatically set tofalse
.Correct the server address back to the initial correct value.
Notice that
skip_unavailable
remainsfalse
and does not revert back totrue
.skip_unavailable
to true again:Observe how
skip_unavailable
does not change totrue
and remains set tofalse
.Set
skip_unavailable
tofalse
while it is already set to afalse
value.skip_unavailable
totrue
.skip_unavailable
is set back totrue
.Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: