aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorosidorkin <osidorkin@yandex-team.com>2024-09-05 08:28:24 +0300
committerosidorkin <osidorkin@yandex-team.com>2024-09-05 08:39:14 +0300
commitf7555bb7a3e280d7f2f4f10c60a58c9c55ed3731 (patch)
tree4ed88b55af2916efafdd7ec1a7d776f0cb6df903
parent9dbe778c4298a0eebe4fb48d45dc9f4f0fe836d0 (diff)
downloadydb-f7555bb7a3e280d7f2f4f10c60a58c9c55ed3731.tar.gz
YT-21553: Address most of babenko@ comments
2be0c5bcc5ed666a12c6aed2b4a9092cd02c1e60
-rw-r--r--yt/yt/client/chaos_client/config.h1
-rw-r--r--yt/yt/client/chaos_client/replication_card.h5
2 files changed, 5 insertions, 1 deletions
diff --git a/yt/yt/client/chaos_client/config.h b/yt/yt/client/chaos_client/config.h
index 052e5d7d52..4454dbb187 100644
--- a/yt/yt/client/chaos_client/config.h
+++ b/yt/yt/client/chaos_client/config.h
@@ -40,7 +40,6 @@ public:
DEFINE_REFCOUNTED_TYPE(TReplicationCardCacheDynamicConfig)
-
////////////////////////////////////////////////////////////////////////////////
} // namespace NYT::NChaosClient
diff --git a/yt/yt/client/chaos_client/replication_card.h b/yt/yt/client/chaos_client/replication_card.h
index 5d16e8ac4f..570c3c0ac7 100644
--- a/yt/yt/client/chaos_client/replication_card.h
+++ b/yt/yt/client/chaos_client/replication_card.h
@@ -97,6 +97,11 @@ struct TReplicationCardFetchOptions
void FormatValue(TStringBuilderBase* builder, const TReplicationCardFetchOptions& options, TStringBuf /*spec*/);
+inline constexpr auto MinimalFetchOptions = TReplicationCardFetchOptions{
+ .IncludeCoordinators = true,
+ .IncludeHistory = true,
+};
+
////////////////////////////////////////////////////////////////////////////////
void FormatValue(