-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Filestore] Implement a tool which replays filestore-vhost's profile log #2124
base: main
Are you sure you want to change the base?
Conversation
…log - part0: prepare
TString filesystemId, | ||
NProto::THeaders headers) | ||
: Spec(std::move(spec)) | ||
, FileSystemIdRequest(std::move(filesystemId)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Лучше унести в спеку TReplaySpec. непонятно, почему это отдельно
cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp
Outdated
Show resolved
Hide resolved
cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp
Outdated
Show resolved
Hide resolved
cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp
Outdated
Show resolved
Hide resolved
cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp
Outdated
Show resolved
Hide resolved
cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp
Outdated
Show resolved
Hide resolved
cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp
Outdated
Show resolved
Hide resolved
cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp
Outdated
Show resolved
Hide resolved
cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp
Outdated
Show resolved
Hide resolved
cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp
Outdated
Show resolved
Hide resolved
cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp
Outdated
Show resolved
Hide resolved
cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp
Outdated
Show resolved
Hide resolved
cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp
Outdated
Show resolved
Hide resolved
cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp
Outdated
Show resolved
Hide resolved
{ | ||
parent = CreateDirIfMissingByNodeLog(it->second.ParentLog); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Тут не нужна проверка на то, что parent не Invalid?
cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp
Outdated
Show resolved
Hide resolved
|
||
TString relativePathName; | ||
if (logRequest.GetNodeInfo().GetNodeId()) { | ||
if (auto path = PathByNode(logRequest.GetNodeInfo().GetNodeId())) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
лишний if
if (auto path = PathByNode(logRequest.GetNodeInfo().GetNodeId())) { | ||
relativePathName = path; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
else ?
#1733