Igor Canadi e3d3567b5b Get rid of mutex in CompactionJob's state
Summary: Based on @sdong's feedback in the diff, we shouldn't keep db_mutex in CompactionJob's state. This diff removes db_mutex from CompactionJob state, by making next_file_number_ atomic. That way we only need to pass the lock to InstallCompactionResults() because of LogAndApply()

Test Plan: make check

Reviewers: ljin, yhchiang, rven, sdong

Reviewed By: sdong

Subscribers: sdong, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D28491
2014-11-07 15:44:12 -08:00
..
2014-10-31 11:59:54 -07:00
2014-09-04 16:18:36 -07:00
2014-10-31 15:04:01 -07:00
2014-09-24 13:12:16 -07:00
2014-11-06 11:14:28 -08:00
2014-11-06 11:14:28 -08:00
2014-11-06 11:14:28 -08:00
2014-11-06 11:14:28 -08:00
2014-11-06 11:14:28 -08:00
2014-10-31 11:59:54 -07:00
2014-11-07 11:50:34 -08:00
2014-11-07 11:50:34 -08:00
2014-11-06 11:14:28 -08:00
2014-01-27 14:49:10 -08:00
2014-03-14 22:44:35 +00:00
2014-11-07 11:50:34 -08:00
2014-11-07 11:50:34 -08:00
2014-10-27 12:10:13 -07:00
2014-10-27 12:10:13 -07:00
2014-11-06 11:14:28 -08:00
2014-10-31 11:59:54 -07:00
2014-11-07 15:04:30 -08:00
2014-10-31 11:59:54 -07:00
2014-11-06 11:14:28 -08:00
2014-10-27 15:03:45 -07:00
2014-09-04 23:06:23 +08:00
2014-11-06 11:14:28 -08:00
2014-11-06 11:14:28 -08:00
2014-10-31 11:59:54 -07:00
2014-10-31 11:59:54 -07:00
2014-10-29 17:43:37 -07:00
2014-10-29 17:43:37 -07:00
2014-10-27 12:10:13 -07:00
2014-09-13 14:14:10 -07:00
2014-09-12 16:23:58 -07:00
2014-09-12 16:23:58 -07:00