mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
reduce session id to only session id, node stands separately
This commit is contained in:
parent
f0d0f20898
commit
0e7d90f9b7
@ -188,6 +188,10 @@ public class SystemId {
|
||||
}
|
||||
|
||||
public static String genSessionCode(long epochMillis) {
|
||||
return packLong(epochMillis);
|
||||
}
|
||||
|
||||
public static String genSessionAndNodeCode(long epochMillis) {
|
||||
return packLong(epochMillis) + "_" + getPackedNodeId();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user