mirror of https://github.com/apache/cassandra
Change the resolution of AbstractCommitLogService#lastSyncedAt to nanos to be aligned with later comparisons
patch by Dmitry Konstantinov; reviewed by Branimir Lambov, Stefan Miklosovic for CASSANDRA-20074
This commit is contained in:
parent
b88fe80910
commit
d0c984fa32
|
|
@ -1,4 +1,5 @@
|
|||
4.0.15
|
||||
* Change the resolution of AbstractCommitLogService#lastSyncedAt to nanos to be aligned with later comparisons (CASSANDRA-20074)
|
||||
* Backport of CASSANDRA-17812: Rate-limit new client connection auth setup to avoid overwhelming bcrypt (CASSANDRA-20057)
|
||||
* Support UDTs and vectors as clustering keys in descending order (CASSANDRA-20050)
|
||||
* Fix CQL in snapshot's schema which did not contained UDTs used as reverse clustering columns (CASSANDRA-20036)
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ public abstract class AbstractCommitLogService
|
|||
private volatile boolean shutdown = false;
|
||||
|
||||
// all Allocations written before this time will be synced
|
||||
protected volatile long lastSyncedAt = System.currentTimeMillis();
|
||||
protected volatile long lastSyncedAt = MonotonicClock.preciseTime.now();
|
||||
|
||||
// counts of total written, and pending, log messages
|
||||
private final AtomicLong written = new AtomicLong(0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue