Remove iosPerKSecond metric increment.

This commit is contained in:
Xin Dong 2019-09-26 14:38:51 -07:00
parent cd4757b06c
commit 3efeff04e6
1 changed files with 0 additions and 1 deletions

View File

@ -893,7 +893,6 @@ ACTOR Future<Void> getValueQ( StorageServer* data, GetValueRequest req ) {
metrics.bytesReadPerKSecond = v.present() ? std::max((int64_t)(req.key.size() + v.get().size()), metrics.bytesReadPerKSecond = v.present() ? std::max((int64_t)(req.key.size() + v.get().size()),
SERVER_KNOBS->BYTES_READ_UNITS_PER_SAMPLE) SERVER_KNOBS->BYTES_READ_UNITS_PER_SAMPLE)
: SERVER_KNOBS->BYTES_READ_UNITS_PER_SAMPLE; : SERVER_KNOBS->BYTES_READ_UNITS_PER_SAMPLE;
metrics.iosPerKSecond = 1;
data->metrics.notify(req.key, metrics); data->metrics.notify(req.key, metrics);
if( req.debugID.present() ) if( req.debugID.present() )