-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* issue-324: DescribeData: 1. BlobOffsets should be in bytes, not blocks 2. returning FileSize 3. added a ut that checks that we don't return data outside of the aligned superrange that contains the requested range (#399) * issue #324: storing NProto::TFileStore in session state to use it in the two stage read implementation in TServiceActor (#400) * issue #324: DescribeData: offset calculation shouldn't use TBlock::BlockIndex since this block might be not initialized (#402) * NBSNEBIUS-101: use vhost-side reads WIP. Issue: #95 (#394) * [Draft] NBSNEBIUS-101: use vhost-side reads * WIP: service_actor_readdata * add describe data test * add describe data test * add ut + fix readblob implementation * enable TwoStageReadEnabled feature-flag * fix ut + trigger large tests --------- Co-authored-by: Maxim Deb Natkh <debnatkh@yandex.ru> * issue-324: proper EvGet error handling, not outputting user data to logs, dependencies cleanup, code cleanup (#419) * issue-324: proper EvGet error handling, not outputting user data to logs, dependencies cleanup, code cleanup * issue-324: proper EvGet error handling, not outputting user data to logs, dependencies cleanup, code cleanup - forgot libs/storage/model/ut * issue-324: proper EvGet error handling, not outputting user data to logs, dependencies cleanup, code cleanup - forgot libs/storage/model/public.h * issue-324: proper EvGet error handling, not outputting user data to logs, dependencies cleanup, code cleanup - fixed event-log lib * issue-324: TServiceActor: ReadData fallback in case DescribeData or EvGet fail (#428) * issue-324: TServiceActor: ReadData fallback in case DescribeData or EvGet fail * issue-324: TServiceActor: ReadData fallback in case DescribeData or EvGet fail * issue-324: TServiceActor: ReadData fallback in case DescribeData or EvGet fail - discarding EvGetResults after switching to the ReadData fallback * issue-324: TServiceActor: ReadData fallback in case DescribeData or EvGet fail - cleanup * issue-324: added ut and loadtest for the TwoStageRead feature, fixed a crash in TReadDataActor::HandleReadBlobResponse (#441) * issue-324: added ut and loadtest for the TwoStageRead feature, fixed a crash in TReadDataActor::HandleReadBlobResponse * issue-324: added ut and loadtest for the TwoStageRead feature, fixed a crash in TReadDataActor::HandleReadBlobResponse - forgot nfs-storage.txt * updated CMakeLists after cherry-pick * updated CMakeLists after cherry-pick - forgot to add new CMakeLists * contrib/ydb -> ydb * contrib/ydb -> ydb --------- Co-authored-by: Maxim Deb Natkh <debnatkh@gmail.com> Co-authored-by: Maxim Deb Natkh <debnatkh@yandex.ru>
- Loading branch information
1 parent
54cf699
commit eec3056
Showing
64 changed files
with
1,375 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ SRCS( | |
tablet.cpp | ||
tablet_counters.cpp | ||
tablet_schema.cpp | ||
utils.cpp | ||
) | ||
|
||
PEERDIR( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ibs/storage/tablet/model/block_buffer.cpp → ...store/libs/storage/model/block_buffer.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#pragma once | ||
|
||
#include <util/system/defaults.h> | ||
|
||
#include <memory> | ||
|
||
namespace NCloud::NFileStore::NStorage { | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
struct IBlockBuffer; | ||
using IBlockBufferPtr = std::shared_ptr<IBlockBuffer>; | ||
|
||
} // namespace NCloud::NFileStore::NStorage |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
80 changes: 80 additions & 0 deletions
80
cloud/filestore/libs/storage/model/ut/CMakeLists.linux-x86_64.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
|
||
# This file was generated by the build system used internally in the Yandex monorepo. | ||
# Only simple modifications are allowed (adding source-files to targets, adding simple properties | ||
# like target_include_directories). These modifications will be ported to original | ||
# ya.make files by maintainers. Any complex modifications which can't be ported back to the | ||
# original buildsystem will not be accepted. | ||
|
||
|
||
|
||
add_executable(cloud-filestore-libs-storage-model-ut) | ||
target_include_directories(cloud-filestore-libs-storage-model-ut PRIVATE | ||
${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/model | ||
) | ||
target_link_libraries(cloud-filestore-libs-storage-model-ut PUBLIC | ||
contrib-libs-linux-headers | ||
contrib-libs-cxxsupp | ||
yutil | ||
library-cpp-cpuid_check | ||
cpp-testing-unittest_main | ||
libs-storage-model | ||
) | ||
target_link_options(cloud-filestore-libs-storage-model-ut PRIVATE | ||
-ldl | ||
-lrt | ||
-Wl,--no-as-needed | ||
-fPIC | ||
-fPIC | ||
-lpthread | ||
-lrt | ||
-ldl | ||
) | ||
target_sources(cloud-filestore-libs-storage-model-ut PRIVATE | ||
${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/model/block_buffer_ut.cpp | ||
${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/model/range_ut.cpp | ||
) | ||
set_property( | ||
TARGET | ||
cloud-filestore-libs-storage-model-ut | ||
PROPERTY | ||
SPLIT_FACTOR | ||
15 | ||
) | ||
add_yunittest( | ||
NAME | ||
cloud-filestore-libs-storage-model-ut | ||
TEST_TARGET | ||
cloud-filestore-libs-storage-model-ut | ||
TEST_ARG | ||
--print-before-suite | ||
--print-before-test | ||
--fork-tests | ||
--print-times | ||
--show-fails | ||
) | ||
set_yunittest_property( | ||
TEST | ||
cloud-filestore-libs-storage-model-ut | ||
PROPERTY | ||
LABELS | ||
SMALL | ||
) | ||
set_yunittest_property( | ||
TEST | ||
cloud-filestore-libs-storage-model-ut | ||
PROPERTY | ||
PROCESSORS | ||
2 | ||
) | ||
set_yunittest_property( | ||
TEST | ||
cloud-filestore-libs-storage-model-ut | ||
PROPERTY | ||
TIMEOUT | ||
60 | ||
) | ||
target_allocator(cloud-filestore-libs-storage-model-ut | ||
cpp-malloc-tcmalloc | ||
libs-tcmalloc-no_percpu_cache | ||
) | ||
vcs_info(cloud-filestore-libs-storage-model-ut) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
# This file was generated by the build system used internally in the Yandex monorepo. | ||
# Only simple modifications are allowed (adding source-files to targets, adding simple properties | ||
# like target_include_directories). These modifications will be ported to original | ||
# ya.make files by maintainers. Any complex modifications which can't be ported back to the | ||
# original buildsystem will not be accepted. | ||
|
||
|
||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA) | ||
include(CMakeLists.linux-aarch64.txt) | ||
elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") | ||
include(CMakeLists.darwin-x86_64.txt) | ||
elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) | ||
include(CMakeLists.windows-x86_64.txt) | ||
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) | ||
include(CMakeLists.linux-x86_64.txt) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
UNITTEST_FOR(cloud/filestore/libs/storage/model) | ||
|
||
INCLUDE(${ARCADIA_ROOT}/cloud/filestore/tests/recipes/small.inc) | ||
|
||
SRCS( | ||
block_buffer_ut.cpp | ||
range_ut.cpp | ||
) | ||
|
||
END() | ||
|
||
RECURSE_FOR_TESTS(ut) |
File renamed without changes.
2 changes: 0 additions & 2 deletions
2
cloud/filestore/libs/storage/core/utils.h → cloud/filestore/libs/storage/model/utils.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
#pragma once | ||
|
||
#include "public.h" | ||
|
||
#include <util/generic/bitops.h> | ||
|
||
namespace NCloud::NFileStore::NStorage { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,9 @@ GENERATE_ENUM_SERIALIZATION( | |
) | ||
|
||
SRCS( | ||
block_buffer.cpp | ||
channel_data_kind.cpp | ||
utils.cpp | ||
) | ||
|
||
END() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.