Open rleungx opened 2 weeks ago
clock offset could be one of the reasons
What other reasons need to be explained? PD restart? Leader transfer?
Or is it sufficient to just mention that there hasn't been a physical time update for a while, which may have caused a clock offset
?
@JmPotato @rleungx
clock offset could be one of the reasons
What other reasons need to be explained? PD restart? Leader transfer?
Or is it sufficient to just mention that
there hasn't been a physical time update for a while, which may have caused a clock drift
?@JmPotato @rleungx
If the etcd suffers from a slow IO performance, the TSO updating may fail to advance the physical part, which will also cause the "clock offset".
Enhancement Task
From the above code, if the current system time is much later than the previous physical time or runtime issue, the log will be printed. But clock offset could be one of the reasons. So here, we'd better use a clearer log message that is less confusing.