Skip to content
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

Fix missing filesystem id on profile log write #2953

Merged
merged 15 commits into from
Feb 6, 2025
4 changes: 4 additions & 0 deletions cloud/filestore/libs/diagnostics/profile_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <cloud/storage/core/libs/common/scheduler.h>
#include <cloud/storage/core/libs/common/timer.h>
#include <cloud/storage/core/libs/common/verify.h>

#include <library/cpp/eventlog/eventlog.h>

Expand Down Expand Up @@ -71,6 +72,9 @@ void TProfileLog::Stop()

void TProfileLog::Write(TRecord record)
{
// TODO(proller): Remove debug after bug fix
STORAGE_VERIFY_DEBUG_C(record.FileSystemId.empty(), "", "", "Missing filesystem id in profile log");

Records.Enqueue(std::move(record));
}

Expand Down
Loading