aboutsummaryrefslogtreecommitdiffstats
path: root/yt
diff options
context:
space:
mode:
authorGrigory Reznikov <gritukan@nebius.com>2024-04-04 10:50:45 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-04-04 11:01:49 +0300
commitdef02a26e8270f5177fd53cfcf8ce445e26bf583 (patch)
tree73d088d3de2a565a28bdff8f396f70482384750a /yt
parente9b3dee14687bed390e76a9f2b0f23d90fd7eb31 (diff)
downloadydb-def02a26e8270f5177fd53cfcf8ce445e26bf583.tar.gz
Remove unusued fields
These fields were moved to `TAddressResolverConfig`, but were not removed from `TAresDnsResolverConfig`. --- d3f4cd7f1891c69af4b48d51d12c06abb2fba55d Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/502
Diffstat (limited to 'yt')
-rw-r--r--yt/yt/core/dns/config.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/yt/yt/core/dns/config.h b/yt/yt/core/dns/config.h
index 7e68a0fbc8..73a15ce820 100644
--- a/yt/yt/core/dns/config.h
+++ b/yt/yt/core/dns/config.h
@@ -12,27 +12,12 @@ class TAresDnsResolverConfig
: public virtual NYTree::TYsonStruct
{
public:
- bool EnableIPv4;
- bool EnableIPv6;
-
- //! If true, when determining local host name, it will additionally be resolved
- //! into FQDN by calling |getaddrinfo|. Setting this option to false may be
- //! useful in MTN environment, in which hostnames are barely resolvable.
- //! NB: Set this option to false only if you are sure that process is not being
- //! exposed under localhost name to anyone; in particular, any kind of discovery
- //! should be done using some other kind of addresses.
- bool ResolveHostNameIntoFqdn;
- //! If set, localhost name will be forcefully set to the given value rather
- //! than retrieved via |NYT::NNet::UpdateLocalHostName|.
- std::optional<TString> LocalHostNameOverride;
int Retries;
TDuration RetryDelay;
TDuration ResolveTimeout;
TDuration MaxResolveTimeout;
std::optional<double> Jitter;
TDuration WarningTimeout;
- //! Used to check that bootstrap is being initialized from a correct container.
- std::optional<TString> ExpectedLocalHostName;
//! If set, Ares forcefully uses TCP for DNS queries.
//! See ARES_FLAG_USEVC.