CE-14 fixed transaction id issue

This commit is contained in:
Rob Austin
2015-03-12 15:35:17 +00:00
parent 125a30f1e9
commit 86ebb1ed5e
@@ -220,7 +220,7 @@ public class ClientWiredStatelessClientTcpConnectionHub {
* @return a unique transactionId
*/
long nextUniqueTransaction(long time) {
long id = time * TcpReplicator.TIMESTAMP_FACTOR;
long id = time;
for (; ; ) {
long old = transactionID.get();
if (old >= id) id = old + 1;