Skip to content

Commit

Permalink
Fix missing BYTES_PER_WRITE for pipeline write (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
huachaohuang authored and siddontang committed Sep 19, 2017
1 parent f2dab35 commit 3cad586
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/db_impl_write.cc
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ Status DBImpl::PipelinedWriteImpl(const WriteOptions& write_options,
RecordTick(stats_, NUMBER_KEYS_WRITTEN, total_count);
stats->AddDBStats(InternalStats::BYTES_WRITTEN, total_byte_size);
RecordTick(stats_, BYTES_WRITTEN, total_byte_size);
MeasureTime(stats_, BYTES_PER_WRITE, total_byte_size);

PERF_TIMER_STOP(write_pre_and_post_process_time);

Expand Down

0 comments on commit 3cad586

Please sign in to comment.