On 21 April 2014 14:02, Raúl Gutiérrez Segalés <[email protected]> wrote:
>
> But your transactions would have different timestamps as the leader
changes timezone from one election to the next, no? Or are they all UTC?

So it seems that the timestamp for TxnHeaders comes from:

https://github.com/apache/zookeeper/blob/trunk/src/java/main/org/apache/zookeeper/server/ZooKeeperServer.java#L302

which is a call to System.currentTimeMillis, which is ms since the unix
epoch. So it is timezone independent.


-rgs

Reply via email to