From 26c48a4cbe9d1dc2e467b782ca8cca1c73613635 Mon Sep 17 00:00:00 2001 From: Darya Frolova Date: Thu, 23 Jan 2025 15:25:35 +0000 Subject: [PATCH] fix --- cloud/blockstore/libs/storage/core/config.cpp | 3 +-- .../libs/storage/partition_nonrepl/part_mirror_ut.cpp | 7 +------ cloud/blockstore/libs/storage/partition_nonrepl/ut_env.h | 3 +-- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/cloud/blockstore/libs/storage/core/config.cpp b/cloud/blockstore/libs/storage/core/config.cpp index fcffb51b082..dcf4aa24c0f 100644 --- a/cloud/blockstore/libs/storage/core/config.cpp +++ b/cloud/blockstore/libs/storage/core/config.cpp @@ -509,6 +509,7 @@ TDuration MSeconds(ui32 value) xxx(ScrubbingBandwidth, ui64, 20 )\ xxx(MaxScrubbingBandwidth, ui64, 50 )\ xxx(MinScrubbingBandwidth, ui64, 5 )\ + xxx(AutomaticallyEnableBufferCopyingAfterChecksumMismatch, bool, false )\ \ xxx(OptimizeVoidBuffersTransferForReadsEnabled, bool, false )\ xxx(VolumeHistoryCleanupItemCount, ui32, 100'000 )\ @@ -524,8 +525,6 @@ TDuration MSeconds(ui32 value) xxx(EnableToChangeStatesFromDiskRegistryMonpage, bool, false )\ xxx(EnableToChangeErrorStatesFromDiskRegistryMonpage, bool, false )\ xxx(CalculateSplittedUsedQuotaMetric, bool, false )\ - \ - xxx(AutomaticallyEnableBufferCopyingAfterChecksumMismatch, bool, false )\ // BLOCKSTORE_STORAGE_CONFIG_RW #define BLOCKSTORE_STORAGE_CONFIG(xxx) \ diff --git a/cloud/blockstore/libs/storage/partition_nonrepl/part_mirror_ut.cpp b/cloud/blockstore/libs/storage/partition_nonrepl/part_mirror_ut.cpp index c87492eb1c5..f2637a694be 100644 --- a/cloud/blockstore/libs/storage/partition_nonrepl/part_mirror_ut.cpp +++ b/cloud/blockstore/libs/storage/partition_nonrepl/part_mirror_ut.cpp @@ -261,12 +261,7 @@ struct TTestEnv Runtime.AddLocalService( MakeStorageServiceId(), - TActorSetupCmd( - new TStorageServiceMock(), - TMailboxType::Simple, - 0 - ) - ); + TActorSetupCmd(new TStorageServiceMock(), TMailboxType::Simple, 0)); NKikimr::SetupTabletServices(Runtime); } diff --git a/cloud/blockstore/libs/storage/partition_nonrepl/ut_env.h b/cloud/blockstore/libs/storage/partition_nonrepl/ut_env.h index b0198ea28a0..09b35fdbe05 100644 --- a/cloud/blockstore/libs/storage/partition_nonrepl/ut_env.h +++ b/cloud/blockstore/libs/storage/partition_nonrepl/ut_env.h @@ -236,8 +236,7 @@ class TDummyActor final //////////////////////////////////////////////////////////////////////////////// -class TStorageServiceMock final - : public NActors::TActor +class TStorageServiceMock final: public NActors::TActor { public: TStorageServiceMock()