SkyWalking 中的时钟回拨解决方案:
1 | public final class GlobalIdGenerator { |
Reference
GlobalIdGenerator will produce a negative id when the time shift back by nickwongwong · Pull Request #6729 · apache/skywalking
skywalking-java/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/ids/GlobalIdGenerator.java at main · apache/skywalking-java