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-05-28 16:34:24 -07:00
2015-03-17 14:08:00 -07:00
2015-05-05 09:57:47 -07:00
2015-05-05 19:01:12 -07:00
2015-04-25 18:14:27 +09:00
2015-05-30 12:25:45 -04:00
2015-04-25 18:14:27 +09:00
2015-03-17 14:08:00 -07:00
2015-05-29 14:36:35 -07:00
2015-05-29 14:36:35 -07:00
2015-04-23 12:10:36 -07:00
2015-03-17 14:08:00 -07:00
2015-05-29 14:36:35 -07:00
2015-01-26 11:48:07 -08:00
2015-04-07 16:25:56 -07:00
2015-03-17 14:08:00 -07:00
2015-04-07 16:25:56 -07:00
2015-05-29 14:36:35 -07:00
2015-05-29 14:36:35 -07:00
2015-05-29 14:36:35 -07:00
2015-05-29 14:36:35 -07:00
2015-05-29 14:36:35 -07:00
2015-04-27 20:23:50 -07:00
2015-02-26 11:28:41 -08:00
2015-03-30 16:05:35 -04:00
2015-05-29 14:36:35 -07:00
2015-03-17 14:08:00 -07:00
2015-05-05 19:01:12 -07:00
2014-11-06 11:14:28 -08:00
2015-02-06 08:44:30 -08:00
2015-03-17 14:08:00 -07:00
2014-10-31 11:59:54 -07:00
2015-02-26 11:28:41 -08:00
2014-11-10 17:39:38 -05:00
2015-05-29 14:36:35 -07:00
2015-05-29 14:36:35 -07:00
2015-05-29 14:36:35 -07:00
2014-09-13 14:14:10 -07:00
2015-05-29 14:36:35 -07:00
2015-05-29 14:36:35 -07:00