Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Montsev committed Mar 8, 2024
1 parent 7ac748e commit 8ef7349
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ target_sources(storage-partition-model PRIVATE
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/garbage_queue.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/mixed_index_cache.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/operation_status.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/unconfirmed_blob.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/blob_unique_id_with_range.cpp
)
generate_enum_serilization(storage-partition-model
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/mixed_index_cache.h
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ target_sources(storage-partition-model PRIVATE
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/garbage_queue.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/mixed_index_cache.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/operation_status.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/unconfirmed_blob.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/blob_unique_id_with_range.cpp
)
generate_enum_serilization(storage-partition-model
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/mixed_index_cache.h
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ target_sources(storage-partition-model PRIVATE
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/garbage_queue.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/mixed_index_cache.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/operation_status.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/unconfirmed_blob.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/blob_unique_id_with_range.cpp
)
generate_enum_serilization(storage-partition-model
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/mixed_index_cache.h
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ target_sources(storage-partition-model PRIVATE
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/garbage_queue.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/mixed_index_cache.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/operation_status.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/unconfirmed_blob.cpp
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/blob_unique_id_with_range.cpp
)
generate_enum_serilization(storage-partition-model
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/partition/model/mixed_index_cache.h
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,7 @@ void TPartitionActor::WriteMergedBlocks(

const bool addingUnconfirmedBlobsEnabledForCloud = Config->IsAddingUnconfirmedBlobsFeatureEnabled(
PartitionConfig.GetCloudId(),
PartitionConfig.GetFolderId(),
PartitionConfig.GetDiskId());
PartitionConfig.GetFolderId());
bool shouldAddUnconfirmedBlobs = Config->GetAddingUnconfirmedBlobsEnabled()
|| addingUnconfirmedBlobsEnabledForCloud;
if (shouldAddUnconfirmedBlobs) {
Expand Down
2 changes: 1 addition & 1 deletion cloud/blockstore/libs/storage/partition/part_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9738,7 +9738,7 @@ Y_UNIT_TEST_SUITE(TPartitionTest)
config.SetUnconfirmedBlobCountHardLimit(1);
auto runtime = PrepareTestActorRuntime(config);

runtime->SetObserverFunc([&] (auto& event) {
runtime->SetObserverFunc([&] (TTestActorRuntimeBase& runtime, TAutoPtr<IEventHandle>& event) {
switch (event->GetTypeRewrite()) {
case TEvPartitionPrivate::EvAddConfirmedBlobsRequest: {
return TTestActorRuntime::EEventAction::DROP;
Expand Down

0 comments on commit 8ef7349

Please sign in to comment.