client-go/oracle/oracles
you06 7c96dfd783
tso: merge lastTS and lastArrivalTS into an atomic pointer (#1054)
* fix the issue that stale timestamp may be a future one

Signed-off-by: you06 <you1474600@gmail.com>

* add regression test

Signed-off-by: you06 <you1474600@gmail.com>

* lazy init lastTSO

Signed-off-by: you06 <you1474600@gmail.com>

* fix panic

Signed-off-by: you06 <you1474600@gmail.com>

* address comment

Signed-off-by: you06 <you1474600@gmail.com>

---------

Signed-off-by: you06 <you1474600@gmail.com>
2023-11-15 16:34:14 +08:00
..
export_test.go tso: merge lastTS and lastArrivalTS into an atomic pointer (#1054) 2023-11-15 16:34:14 +08:00
local.go implement the external timestamp client (#610) 2022-10-31 14:32:02 +08:00
local_external_timestamp.go fix data race at the memChangeHook (#625) 2022-11-28 10:56:02 +08:00
local_test.go fix license (#267) 2021-08-15 01:48:01 +08:00
main_test.go fix license (#267) 2021-08-15 01:48:01 +08:00
mock.go implement the external timestamp client (#610) 2022-10-31 14:32:02 +08:00
pd.go tso: merge lastTS and lastArrivalTS into an atomic pointer (#1054) 2023-11-15 16:34:14 +08:00
pd_test.go tso: merge lastTS and lastArrivalTS into an atomic pointer (#1054) 2023-11-15 16:34:14 +08:00