alloc_count和free_count分别是指什么?

【产品名称】

【产品版本】

【问题描述】[2022-04-08 02:10:04.076849] INFO [STORAGE.TRANS] ob_memtable_interface.cpp:124 [217][336][YB427F000001-0005DC0E9C7C4A08] [lt=2] [dc=0] alloc memtable context(alloc_count=31186, free_count=31185) 这段日志中alloc_count和free_count分别是指什么?

alloc_count和free_count都是历史的数据;表示分配过多少个,释放多少个。你搜日志的话会发现,这两个count是一直在增加的。并不是说这次要分配这么多,实际上alloc_count每次只会加1