3

FoundationDB has versionstamps, ten-byte, unique, monotonically (but not sequentially) increasing values for each committed transaction.

Can I get a timestamp (when the transaction was committed) from that?

4

1 回答 1

4

Under "normal" (non-failure) conditions, FoundationDB database versions advance at a rate of approximately one million per second. However the rate is not guaranteed to be uniform, so versions cannot be effectively used as a clock.

于 2018-04-28T03:46:14.610 回答