Commit Graph

1 Commits (40f5c2bab32262187b4056aaabdc70012e77d8fe)

Author SHA1 Message Date
Teja Mupparti 40f5c2bab3 This implements a new UDF citus_get_cluster_clock() that returns a monotonically
increasing logical clock. Clock guarantees to never go back in value after restarts,
and makes best attempt to keep the value close to unix epoch time in milliseconds.

Also, introduces a new GUC "citus.enable_cluster_clock", when true, every
distributed transaction is stamped with logical causal clock and persisted
in a catalog pg_dist_commit_transaction.
2022-09-29 16:35:25 -07:00