diff --git a/db/builder.cc b/db/builder.cc index d52361046..c592a9647 100644 --- a/db/builder.cc +++ b/db/builder.cc @@ -230,11 +230,9 @@ Status BuildTable( } // Output to event logger and fire events. - if (!s.ok() || meta->fd.GetFileSize() > 0) { - EventHelpers::LogAndNotifyTableFileCreationFinished( - event_logger, ioptions.listeners, dbname, column_family_name, fname, - job_id, meta->fd, tp, reason, s); - } + EventHelpers::LogAndNotifyTableFileCreationFinished( + event_logger, ioptions.listeners, dbname, column_family_name, fname, + job_id, meta->fd, tp, reason, s); return s; }