Anand Ananthabhotla
dfbe52e099
Fix the Logger::Close() and DBImpl::Close() design pattern
...
Summary:
The recent Logger::Close() and DBImpl::Close() implementation rely on
calling the CloseImpl() virtual function from the destructor, which will
not work. Refactor the implementation to have a private close helper
function in derived classes that can be called by both CloseImpl() and
the destructor.
Closes https://github.com/facebook/rocksdb/pull/3528
Reviewed By: gfosco
Differential Revision: D7049303
Pulled By: anand1976
fbshipit-source-id: 76a64cbf403209216dfe4864ecf96b5d7f3db9f4
2018-02-23 13:57:26 -08:00
..
2018-01-26 12:57:25 -08:00
2017-07-15 16:11:23 -07:00
2017-10-17 11:13:19 -07:00
2018-02-15 19:41:52 -08:00
2017-10-17 11:13:19 -07:00
2018-01-16 11:08:57 -08:00
2017-07-15 16:11:23 -07:00
2018-02-23 13:57:26 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2017-07-15 16:11:23 -07:00
2016-10-25 11:31:39 -07:00
2017-07-15 16:11:23 -07:00
2017-07-31 12:12:03 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-10-19 10:57:12 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-10-17 09:58:13 -07:00
2018-02-22 12:43:17 -08:00
2017-07-15 16:11:23 -07:00
2017-11-03 14:42:08 -07:00
2017-07-15 16:11:23 -07:00
2017-08-31 14:16:30 -07:00
2017-09-08 11:11:04 -07:00
2017-08-31 14:16:30 -07:00
2017-08-31 14:16:30 -07:00
2017-12-19 18:26:49 -08:00
2018-02-13 12:18:07 -08:00
2017-08-31 14:16:30 -07:00
2017-11-17 11:58:17 -08:00
2017-12-12 18:17:13 -08:00
2017-11-17 11:58:17 -08:00
2017-12-01 10:42:05 -08:00
2017-11-03 14:42:08 -07:00
2017-10-19 10:57:12 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-02-22 12:43:17 -08:00
2018-02-13 16:27:11 -08:00
2017-11-03 14:42:08 -07:00
2017-11-03 11:57:10 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-02-13 12:18:07 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-08-31 14:16:30 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-10-04 19:15:01 -07:00
2017-10-04 19:15:01 -07:00
2017-10-04 19:15:01 -07:00
2017-07-15 16:11:23 -07:00
2018-02-22 12:43:17 -08:00
2017-11-17 11:58:17 -08:00
2017-11-17 11:58:17 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-02-15 16:57:37 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-02-02 21:26:28 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-02-22 12:43:17 -08:00
2018-02-22 12:43:17 -08:00
2017-07-15 16:11:23 -07:00
2018-02-22 12:43:17 -08:00
2017-11-03 14:42:08 -07:00
2018-02-16 08:13:34 -08:00
2017-07-15 16:11:23 -07:00
2017-12-14 14:57:49 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-12-20 08:12:22 -08:00
2017-12-06 09:42:28 -08:00
2017-06-05 11:27:34 -07:00
2015-03-12 12:07:10 -07:00