diff options
author | savrus <savrus@yandex-team.com> | 2023-09-13 18:40:00 +0300 |
---|---|---|
committer | savrus <savrus@yandex-team.com> | 2023-09-13 20:24:19 +0300 |
commit | ff185b877e301215c2f08471989287da81eda6bd (patch) | |
tree | a2e107e8cbf5f598bb000780eb4b16a605cd0251 | |
parent | 5fb8c96ff3dec9feb80c5b6b866a61a597a8b3be (diff) | |
download | ydb-ff185b877e301215c2f08471989287da81eda6bd.tar.gz |
Add Force flag for replication progress update command to completely rewrite progress
-rw-r--r-- | yt/yt/client/api/table_client.h | 1 | ||||
-rw-r--r-- | yt/yt/client/driver/chaos_commands.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/yt/yt/client/api/table_client.h b/yt/yt/client/api/table_client.h index 505ba0ced92..4b6b3467c9d 100644 --- a/yt/yt/client/api/table_client.h +++ b/yt/yt/client/api/table_client.h @@ -331,6 +331,7 @@ struct TUpdateChaosTableReplicaProgressOptions , public TMutatingOptions { NChaosClient::TReplicationProgress Progress; + bool Force; }; struct TAlterReplicationCardOptions diff --git a/yt/yt/client/driver/chaos_commands.cpp b/yt/yt/client/driver/chaos_commands.cpp index 5a3c72358f3..02e048219de 100644 --- a/yt/yt/client/driver/chaos_commands.cpp +++ b/yt/yt/client/driver/chaos_commands.cpp @@ -17,6 +17,7 @@ TUpdateChaosTableReplicaProgressCommand::TUpdateChaosTableReplicaProgressCommand { RegisterParameter("replica_id", ReplicaId); RegisterParameter("progress", Options.Progress); + RegisterParameter("force", Options.Force); } void TUpdateChaosTableReplicaProgressCommand::DoExecute(ICommandContextPtr context) |