diff options
author | shmel1k <shmel1k@ydb.tech> | 2023-01-15 13:58:45 +0300 |
---|---|---|
committer | shmel1k <shmel1k@ydb.tech> | 2023-01-15 13:58:45 +0300 |
commit | 306ddfa76ad06b2689bf0c8e7cf9de22a21c5594 (patch) | |
tree | 83f599cadad3ab14a891369cfa736274d2895ef1 | |
parent | 6a1bba5a2da9553c1a016d76cf8d8a8ee20495af (diff) | |
download | ydb-306ddfa76ad06b2689bf0c8e7cf9de22a21c5594.tar.gz |
fix storage retention settings for ydb_cli
-rw-r--r-- | ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp b/ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp index f4eb012cfb..7fd4c247ff 100644 --- a/ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp +++ b/ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp @@ -253,7 +253,7 @@ namespace NYdb::NConsoleClient { } settings.RetentionPeriod(TDuration::Hours(RetentionPeriodHours_)); - settings.RetentionStorageMb(RetentionStorageMb_ / 1_MB); + settings.RetentionStorageMb(RetentionStorageMb_); auto status = topicClient.CreateTopic(TopicName, settings).GetValueSync(); ThrowOnError(status); |