mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
CE-14 fixed transaction id issue
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user