Herman Lee c0be8be0cf Cleanup of ThreadStatusUtil structures should use the DB's reference
Summary:
instead of thread_local

The cleanup path for the rocksdb database might not have the
thread_updater_local_cache_ pointer initialized because the thread
executing the cleanup is likely not a rocksdb thread. This results in a
memory leak detected by Valgrind. The cleanup code path should use the
thread_status_updater pointer obtained from the DB object instead of a
thread local one.
Closes https://github.com/facebook/rocksdb/pull/2059

Differential Revision: D4801611

Pulled By: hermanlee

fbshipit-source-id: 407d7de
2017-04-12 11:34:56 -07:00
..
2017-01-11 16:54:12 -08:00
2016-12-05 17:39:17 -08:00
2016-08-19 12:28:19 -07:00
2016-08-19 12:28:19 -07:00
2017-02-13 11:09:13 -08:00
2017-02-13 11:09:13 -08:00
2017-02-06 14:54:18 -08:00
2016-09-13 12:08:22 -07:00
2016-05-06 17:42:50 -07:00
2016-12-22 13:09:19 -08:00
2016-12-01 10:09:22 -08:00
2016-03-11 22:56:25 -08:00
2017-03-10 10:49:03 -08:00
2017-04-05 14:11:33 -07:00
2017-02-23 11:25:36 -08:00
2016-11-09 15:09:18 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-12-14 19:24:25 -08:00
2017-03-07 13:54:12 -08:00
2016-02-17 20:22:40 +08:00
2016-10-29 16:09:18 -07:00
2016-12-13 18:39:14 -08:00
2016-06-10 16:37:36 -07:00
2017-03-08 22:24:15 -08:00
2017-01-03 18:39:14 -08:00
2016-04-01 11:06:06 -07:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00