Skip to content

Commit

Permalink
add python test
Browse files Browse the repository at this point in the history
  • Loading branch information
adameat committed Jan 23, 2025
1 parent 0b30738 commit 6ce31e3
Show file tree
Hide file tree
Showing 6 changed files with 1,752 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ydb/core/tablet/node_whiteboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,8 @@ class TNodeWhiteboardService : public TActorBootstrapped<TNodeWhiteboardService>
// Note: copy stats to sys info fields for backward compatibility
if (memoryStats.HasAnonRss()) {
SystemStateInfo.SetMemoryUsed(memoryStats.GetAnonRss());
} else if (memoryStats.HasAllocatedMemory()) {
SystemStateInfo.SetMemoryUsed(memoryStats.GetAllocatedMemory());
} else {
SystemStateInfo.ClearMemoryUsed();
}
Expand Down
Loading

0 comments on commit 6ce31e3

Please sign in to comment.