stoneatom / stonedb

StoneDB is an Open-Source MySQL HTAP and MySQL-Native DataBase for OLTP, Real-Time Analytics, a counterpart of MySQLHeatWave. (https://stonedb.io)
https://stonedb.io/
GNU General Public License v2.0
862 stars 139 forks source link

bug:valgrind:possibly lost:8,851,048 bytes in 1 blocks are possibly lost in loss record 313 of 316 #62

Closed shangyanwen closed 2 years ago

shangyanwen commented 2 years ago

Describe the problem

8,851,048 bytes in 1 blocks are possibly lost in loss record 313 of 316 at 0x483C855: malloc (vg_replace_malloc.c:381) by 0xD00314: ut_malloc_low(unsigned long, unsigned long) (ut0mem.cc:104) by 0xD90C3B: hash0_create(unsigned long) (hash0hash.cc:305) by 0xD8F21A: ha_create_func(unsigned long, unsigned long, unsigned long) (ha0ha.cc:67) by 0xD28FAE: btr_search_sys_create(unsigned long) (btr0sea.cc:178) by 0xD31C9A: buf_pool_init(unsigned long, unsigned long) (buf0buf.cc:1419) by 0xCDBF61: innobase_start_or_create_for_mysql() (srv0start.cc:1948) by 0xC27503: innobase_init(void) (ha_innodb.cc:3278) by 0x8A7787: ha_initialize_handlerton(st_plugin_int) (handler.cc:677) by 0x9FA745: plugin_initialize(st_plugin_int) (sql_plugin.cc:1137) by 0xA026CF: plugin_init(int, char, int) (sql_plugin.cc:1431) by 0x89E961: init_server_components() (mysqld.cc:4881) Expected behavior**

no possibly lost How To Reproduce

1、Create eight tables for TPCH 2、Generate 2G of test data 3、Import data into each of the eight tables(Import the way) Environment

1、Ubuntu 20.04.4 2、valgrind-3.19.0 Additional context

See the attachment for creating tables 、 importing data、error log create_table.txt load_data.txt valgrind-stonedb.log

shangyanwen commented 2 years ago

That's not a problem