diff options
author | osidorkin <osidorkin@yandex-team.com> | 2024-10-28 19:04:07 +0300 |
---|---|---|
committer | osidorkin <osidorkin@yandex-team.com> | 2024-10-28 19:16:59 +0300 |
commit | ace138d6dd98cc07535f51c14229972432386cc3 (patch) | |
tree | a685ca25bd570ee2cd5cebe955d11bc93e4e329e /yt | |
parent | 556acf22e5b9e62e6806d9f84b88885f0028553d (diff) | |
download | ydb-ace138d6dd98cc07535f51c14229972432386cc3.tar.gz |
YT-22894: Add ability to change chaos replica path with alter_table_replica command: address comments
commit_hash:ada248e21e9ee99237999b420d6a30c590340920
Diffstat (limited to 'yt')
-rw-r--r-- | yt/yt/client/api/table_client.h | 2 | ||||
-rw-r--r-- | yt/yt/client/driver/table_commands.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/client/api/table_client.h b/yt/yt/client/api/table_client.h index 581412eba7..a1eb9b3152 100644 --- a/yt/yt/client/api/table_client.h +++ b/yt/yt/client/api/table_client.h @@ -135,7 +135,7 @@ struct TAlterTableReplicaOptions std::optional<bool> PreserveTimestamps; std::optional<NTransactionClient::EAtomicity> Atomicity; std::optional<bool> EnableReplicatedTableTracker; - std::optional<TString> ReplicaPath; + std::optional<NYPath::TYPath> ReplicaPath; }; struct TGetTablePivotKeysOptions diff --git a/yt/yt/client/driver/table_commands.cpp b/yt/yt/client/driver/table_commands.cpp index 0ff27ef95f..03175a611f 100644 --- a/yt/yt/client/driver/table_commands.cpp +++ b/yt/yt/client/driver/table_commands.cpp @@ -1565,7 +1565,7 @@ void TAlterTableReplicaCommand::Register(TRegistrar registrar) }) .Optional(/*init*/ false); - registrar.ParameterWithUniversalAccessor<std::optional<TString>>( + registrar.ParameterWithUniversalAccessor<std::optional<TYPath>>( "replica_path", [] (TThis* command) -> auto& { return command->Options.ReplicaPath; |