Activity log for bug #1546538

Date Who What changed Old value New value Message
2016-02-17 13:23:16 Sergei Golubchik bug added bug
2016-02-17 14:28:35 George Ormond Lorch III percona-server: status New Triaged
2016-02-17 14:28:49 George Ormond Lorch III nominated for series percona-server/5.6
2016-02-17 14:28:49 George Ormond Lorch III bug task added percona-server/5.6
2016-02-17 14:28:49 George Ormond Lorch III nominated for series percona-server/5.7
2016-02-17 14:28:49 George Ormond Lorch III bug task added percona-server/5.7
2016-02-17 14:28:57 George Ormond Lorch III percona-server/5.7: status New Triaged
2016-02-17 14:42:19 George Ormond Lorch III tags tokudb
2016-02-17 16:45:56 George Ormond Lorch III percona-server/5.6: assignee George Ormond Lorch III (gl-az)
2016-02-17 16:45:58 George Ormond Lorch III percona-server/5.7: assignee George Ormond Lorch III (gl-az)
2016-02-18 06:30:48 Laurynas Biveinis percona-server/5.6: importance Undecided High
2016-02-18 06:30:50 Laurynas Biveinis percona-server/5.7: importance Undecided High
2016-02-18 21:30:48 Phil Sweeney bug added subscriber Phil Sweeney
2016-02-18 21:31:20 Phil Sweeney description in ha_tokudb_admin.cc, tokudb::analyze::standard_t::analyze_key(), TokuDB does: DBT key, prev_key; ... error = cursor->c_get(cursor, &key, 0, _scan_direction); ... if (key.data) tokudb::memory::free(key.data); tokudb::memory::free is server's my_free(), but the key is allocated in PerconaFT/portability/memory.cc using os_malloc(), that is plain malloc(). This is a major no-no, mixing memory allocators. In MariaDB this causes safemalloc warnings in debug builds and crashes because memory accounting doesn't add up. In MySQL 5.7, I suspect, it will break memory related performance schema tables. A possible fix could be to use toku_set_func_malloc()/etc functions from <portability/memory.h>, but that causes crashes elsewhere. May be not all PerconaFT code is ready for that (currently toku_set_func_malloc()/etc functionality is unused). in ha_tokudb_admin.cc, tokudb::analyze::standard_t::analyze_key(), TokuDB does:   DBT key, prev_key;   ...   error = cursor->c_get(cursor, &key, 0, _scan_direction);   ...   if (key.data) tokudb::memory::free(key.data); tokudb::memory::free is server's my_free(), but the key is allocated in PerconaFT/portability/memory.cc using os_malloc(), that is plain malloc(). This is a major no-no, mixing memory allocators. In MariaDB this causes safemalloc warnings in debug builds and crashes because memory accounting doesn't add up. In MySQL 5.7, I suspect, it will break memory related performance schema tables. A possible fix could be to use toku_set_func_malloc()/etc functions from <portability/memory.h>, but that causes crashes elsewhere. May be not all PerconaFT code is ready for that (currently toku_set_func_malloc()/etc functionality is unused).
2016-02-24 20:22:17 Reinis Rozitis bug added subscriber Reinis Rozitis
2016-05-09 12:51:22 George Ormond Lorch III percona-server/5.6: status Triaged Fix Released
2016-05-09 12:51:26 George Ormond Lorch III percona-server/5.7: status Triaged Fix Released
2016-05-09 12:51:35 George Ormond Lorch III percona-server/5.6: milestone 5.6.30-76.3
2016-05-09 12:51:39 George Ormond Lorch III percona-server/5.7: milestone 5.7.12-5