vesoft-inc / nebula

A distributed, fast open-source graph database featuring horizontal scalability and high availability
https://nebula-graph.io
Apache License 2.0
10.89k stars 1.21k forks source link

Fix session ID generation #5916

Closed Aiee closed 3 months ago

Aiee commented 3 months ago

Use random uint64 instead of timestamp as the session ID to prevent ID duplication when creating sessions with a high concurrency.

Verified manually by @Nicole00 .