Yueh-Hsuan Chiang fe5c6321cb Allow EventListener::OnCompactionCompleted to return CompactionJobStats.
Summary:
Allow EventListener::OnCompactionCompleted to return CompactionJobStats,
which contains useful information about a compaction.

Example CompactionJobStats returned by OnCompactionCompleted():
    smallest_output_key_prefix 05000000
    largest_output_key_prefix 06990000
    elapsed_time 42419
    num_input_records 300
    num_input_files 3
    num_input_files_at_output_level 2
    num_output_records 200
    num_output_files 1
    actual_bytes_input 167200
    actual_bytes_output 110688
    total_input_raw_key_bytes 5400
    total_input_raw_value_bytes 300000
    num_records_replaced 100
    is_manual_compaction 1

Test Plan: Developed a mega test in db_test which covers 20 variables in CompactionJobStats.

Reviewers: rven, igor, anthony, sdong

Reviewed By: sdong

Subscribers: tnovak, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D38463
2015-06-02 17:07:16 -07:00
..
2015-03-17 14:08:00 -07:00
2014-11-21 14:11:40 -08:00
2015-03-12 21:13:53 +03:00
2015-04-23 21:33:44 -07:00
2015-03-17 14:08:00 -07:00
2015-04-25 18:14:27 +09:00
2014-11-07 15:04:30 -08:00
2015-03-17 14:08:00 -07:00
2014-08-19 06:48:21 -07:00
2015-02-26 11:28:41 -08:00
2015-04-06 12:50:44 -07:00
2015-03-17 14:08:00 -07:00
2015-03-17 14:08:00 -07:00
2015-04-25 18:14:27 +09:00
2015-03-17 14:08:00 -07:00
2014-11-14 11:38:26 -08:00
2014-11-14 11:38:26 -08:00
2015-03-17 14:08:00 -07:00
2014-11-20 10:49:32 -08:00
2015-04-25 18:14:27 +09:00
2015-04-25 18:14:27 +09:00
2015-04-23 21:33:44 -07:00
2015-02-26 15:19:17 -08:00
2015-03-17 14:08:00 -07:00
2015-02-26 11:28:41 -08:00
2015-04-13 16:15:05 -07:00
2015-04-13 16:15:05 -07:00
2015-02-26 11:28:41 -08:00
2015-01-23 18:10:52 -08:00
2014-07-28 12:10:49 -07:00
2015-05-29 14:36:35 -07:00
2013-12-03 12:42:15 -08:00
2014-07-28 12:22:37 -07:00
2014-11-21 11:05:28 -05:00
2015-04-23 21:33:44 -07:00
2014-09-08 22:24:40 -07:00
2015-02-26 11:28:41 -08:00
2015-03-17 14:08:00 -07:00
2015-03-17 14:08:00 -07:00
2015-04-13 17:33:24 -07:00
2015-05-29 14:36:35 -07:00
2015-05-29 14:36:35 -07:00