Revision 7106a994fec11c0d9de7d37a5d3d787f31bbd087 authored by Xiaofei Du on 15 February 2017, 02:15:05 UTC, committed by Facebook Github Bot on 15 February 2017, 02:24:24 UTC
Summary:
NowMicros() provides non-monotonic time. When wall clock is
synchronized or changed, the non-monotonicity time points will affect write rate
controllers. This patch changes write_controller.cc and rate_limiter.cc to use
monotonic time points.
Closes https://github.com/facebook/rocksdb/pull/1865

Differential Revision: D4561732

Pulled By: siying

fbshipit-source-id: 95ece62
1 parent c2247dc
History
File Mode Size
.gitignore -rw-r--r-- 155 bytes
Makefile -rw-r--r-- 2.2 KB
README.md -rw-r--r-- 120 bytes
c_simple_example.c -rw-r--r-- 2.6 KB
column_families_example.cc -rw-r--r-- 2.0 KB
compact_files_example.cc -rw-r--r-- 5.7 KB
compaction_filter_example.cc -rw-r--r-- 2.8 KB
optimistic_transaction_example.cc -rw-r--r-- 4.1 KB
options_file_example.cc -rw-r--r-- 4.0 KB
rocksdb_option_file_example.ini -rw-r--r-- 4.5 KB
simple_example.cc -rw-r--r-- 1.4 KB
transaction_example.cc -rw-r--r-- 4.2 KB

README.md

back to top