|
|
@ -479,6 +479,7 @@ void DBImpl::NotifyOnFlushBegin(ColumnFamilyData* cfd, FileMetaData* file_meta, |
|
|
|
mutex_.Unlock(); |
|
|
|
mutex_.Unlock(); |
|
|
|
{ |
|
|
|
{ |
|
|
|
FlushJobInfo info; |
|
|
|
FlushJobInfo info; |
|
|
|
|
|
|
|
info.cf_id = cfd->GetID(); |
|
|
|
info.cf_name = cfd->GetName(); |
|
|
|
info.cf_name = cfd->GetName(); |
|
|
|
// TODO(yhchiang): make db_paths dynamic in case flush does not
|
|
|
|
// TODO(yhchiang): make db_paths dynamic in case flush does not
|
|
|
|
// go to L0 in the future.
|
|
|
|
// go to L0 in the future.
|
|
|
@ -530,6 +531,7 @@ void DBImpl::NotifyOnFlushCompleted(ColumnFamilyData* cfd, |
|
|
|
mutex_.Unlock(); |
|
|
|
mutex_.Unlock(); |
|
|
|
{ |
|
|
|
{ |
|
|
|
FlushJobInfo info; |
|
|
|
FlushJobInfo info; |
|
|
|
|
|
|
|
info.cf_id = cfd->GetID(); |
|
|
|
info.cf_name = cfd->GetName(); |
|
|
|
info.cf_name = cfd->GetName(); |
|
|
|
// TODO(yhchiang): make db_paths dynamic in case flush does not
|
|
|
|
// TODO(yhchiang): make db_paths dynamic in case flush does not
|
|
|
|
// go to L0 in the future.
|
|
|
|
// go to L0 in the future.
|
|
|
|