You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use GetCurrentTimestamp instead of instr_time in GlobalSnapshotGenerate.
CLOCK_MONOTONIC is not ok because it is time since server start, which means
values between nodes are totally uncorrelated. So resort to use usual real time
clock GetCurrentTimestamp (gettimeofday); we should now ensure monotonicity on
our own, but this was done previously anyway.
Ideally, we should use clock_gettime with CLOCK_REALTIME which might provide
nanosecond resolution.
0 commit comments