diff options
author | don-dron <don-dron@yandex-team.com> | 2024-08-30 23:11:19 +0300 |
---|---|---|
committer | don-dron <don-dron@yandex-team.com> | 2024-08-30 23:30:48 +0300 |
commit | 14ddd77a270f3fd464f24ebc25f142c04d6269a8 (patch) | |
tree | 8812a18b5cd3023d2bf5cd1b41eeba1dd60cb7d0 | |
parent | 9401d402e0694a3d7384c54e980bd0eaabb3e79b (diff) | |
download | ydb-14ddd77a270f3fd464f24ebc25f142c04d6269a8.tar.gz |
YT-22736: Add more introspection for reads/writes throttling on data nodes
77baa2c26e4fe5e9f75d283b7b3d5cd146c459b5
-rw-r--r-- | yt/yt/core/misc/memory_usage_tracker.cpp | 2 | ||||
-rw-r--r-- | yt/yt/core/misc/memory_usage_tracker.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/core/misc/memory_usage_tracker.cpp b/yt/yt/core/misc/memory_usage_tracker.cpp index 3f24adc4a8..fbdbc7358e 100644 --- a/yt/yt/core/misc/memory_usage_tracker.cpp +++ b/yt/yt/core/misc/memory_usage_tracker.cpp @@ -233,7 +233,7 @@ TError TMemoryUsageTrackerGuard::SetSizeImpl(i64 size, auto acquirer) return {}; } -void TMemoryUsageTrackerGuard::IncrementSize(i64 sizeDelta) +void TMemoryUsageTrackerGuard::IncreaseSize(i64 sizeDelta) { SetSize(Size_ + sizeDelta); } diff --git a/yt/yt/core/misc/memory_usage_tracker.h b/yt/yt/core/misc/memory_usage_tracker.h index c5574ffd4e..403385cdec 100644 --- a/yt/yt/core/misc/memory_usage_tracker.h +++ b/yt/yt/core/misc/memory_usage_tracker.h @@ -93,7 +93,7 @@ public: i64 GetSize() const; void SetSize(i64 size); TError TrySetSize(i64 size); - void IncrementSize(i64 sizeDelta); + void IncreaseSize(i64 sizeDelta); TMemoryUsageTrackerGuard TransferMemory(i64 size); private: |