4 ms·
We use Raft underneath the hood to maintain consistency across the replicas. re: 'There is no GPS sync'd atomic clock in Cockroach', Cockroach actually has a c
by irfansharif 9y ago
We use Raft underneath the hood to maintain consistency across the replicas.
re: 'There is no GPS sync'd atomic clock in Cockroach', Cockroach actually has a command line flag (--linearizable) which makes it behave like Spanner: wait for the max clock offset before returning a successful commit[1]. This isn’t practical if you’re using NTP synchronization, but if you have atomic clocks at your disposal..
[1]: https://www.cockroachlabs.com/blog/living-without-atomic-clocks/ https://www.cockroachlabs.com/blog/living-without-atomic-clo...