Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Won't Fix
-
10.2(EOL)
-
None
Description
Hi,
When a server containing TokuDB tables is shutdown, debug stuff is logged:
24590 /home/buildbot/buildbot/build/mariadb-10.2.26/storage/tokudb/ha_tokudb.cc:161 static_destroy _open_tables ./optizy_saas/planning 0x7f0511798008
24590 /home/buildbot/buildbot/build/mariadb-10.2.26/storage/tokudb/ha_tokudb.cc:161 static_destroy _open_tables ./optizy_saas/script_stats 0x7f050bee7008
24590 /home/buildbot/buildbot/build/mariadb-10.2.26/storage/tokudb/ha_tokudb.cc:161 static_destroy _open_tables ./optizy_saas/server_stats 0x7f050bf81008
There's indeed no check for debug in the code:
TOKUDB_TRACE("_open_tables %s %p", it->first.c_str(), it->second);
I would have expected:
if (TOKUDB_UNLIKELY(tokudb::sysvars::debug))
TOKUDB_TRACE("_open_tables %s %p", it->first.c_str(), it->second);
instead
BR,
Jocelyn