Igor Canadi b6b9359ece Fix BYTES_WRITTEN accounting
Summary:
BYTES_WRITTEN accounting doesn't work with disabled WAL. For example, this is what we
get in the LOG:

```
Cumulative writes: 9794K writes, 228M keys, 9794K commit groups, 1.0
writes per commit group, ingest: 0.00 GB, 0.00 MB/s
```

WAL bytes are tracked in a different statistic:
https://github.com/facebook/rocksdb/blob/master/db/internal_stats.h#L105.
BYTES_WRITTEN should count all the writes.
Closes https://github.com/facebook/rocksdb/pull/2133

Differential Revision: D4880615

Pulled By: yiwu-arbug

fbshipit-source-id: 8fd0b223099f3f5ad7df79d4e737d313687fec69
2017-04-13 16:12:03 -07:00
..
2017-02-06 14:54:18 -08:00
2017-04-07 10:54:12 -07:00
2017-03-13 09:54:11 -07:00
2017-04-05 17:24:19 -07:00
2017-03-13 11:54:10 -07:00
2017-04-13 16:12:03 -07:00
2017-03-13 09:54:11 -07:00
2017-03-13 09:54:11 -07:00
2017-04-04 18:09:11 -07:00
2017-03-28 12:09:12 -07:00
2016-07-08 17:50:51 -07:00
2017-02-06 14:54:18 -08:00
2016-10-13 08:48:40 -07:00
2016-07-08 17:50:51 -07:00
2016-11-03 18:54:20 -07:00
2016-12-29 15:54:19 -08:00
2017-02-16 10:39:13 -08:00
2017-02-06 14:54:18 -08:00
2016-07-13 15:36:22 -07:00