mirror of https://github.com/apache/nifi.git
NIFI-826 (part 3)
- fixed ID generation routine that was causing miss-identification of the components
This commit is contained in:
parent
1c6d58b959
commit
6c7c3c0822
|
@ -49,11 +49,11 @@ public class TypeOneUUIDGenerator {
|
|||
long time;
|
||||
|
||||
synchronized (lock) {
|
||||
if (currentTime > lastTime) {
|
||||
if (currentTime == lastTime) {
|
||||
++clockSequence;
|
||||
} else {
|
||||
lastTime = currentTime;
|
||||
clockSequence = 0;
|
||||
} else {
|
||||
++clockSequence;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue