Add cache type information for maximum memory usage warning message

Patch by Yong Jiang; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-18184
This commit is contained in:
yongj 2023-02-01 07:52:35 +00:00 committed by Brandon Williams
parent ba434b8231
commit 0c58fbb8dd
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
4.0.8
* Add cache type information for maximum memory usage warning message (CASSANDRA-18184)
* Fix NPE in fqltool dump on null value (CASSANDRA-18113)
* Improve unit tests performance (CASSANDRA-17427)
* Connect to listen address when own broadcast address is requested (CASSANDRA-18200)

View File

@ -427,8 +427,8 @@ public class BufferPool
{
if (memoryUsageThreshold > 0)
{
noSpamLogger.info("Maximum memory usage reached ({}), cannot allocate chunk of {}",
readableMemoryUsageThreshold, READABLE_MACRO_CHUNK_SIZE);
noSpamLogger.info("Maximum memory usage reached ({}) for {} buffer pool, cannot allocate chunk of {}",
readableMemoryUsageThreshold, name, READABLE_MACRO_CHUNK_SIZE);
}
return null;
}