ThreadLocalPtr::StaticMeta instance is a singleton.
It is created once, immediately when ha_rocksdb.so is dlopened  and it doesn't seem to be freed anywhere. This triggers leak sanitizer in ASAN builds. It can perhaps exhaust memory if one installs/uninstalls (or runs show plugin soname) in a loop.
 static variable rocksdb_db_options initialized by calling rdb_init_rocksdb_db_options() that calls DBOptions::DBOptions(), Env::Default(), ThreadLocalPtr::InitSingletons(), ThreadLocalPtr::Instance().
Explicit delete seems to help: