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.86k stars 1.21k forks source link

How to reduce the waiting time for creating graph spaces #5973

Open jzx1000 opened 1 week ago

jzx1000 commented 1 week ago

When creating a graph space or a tag/edge type schema, I have to wait for two heartbeat cycles to complete synchronization before I can perform subsequent operations. I tried setting the heartbeat cycle to 1 second and waited for 2 seconds, but it still resulted in an error. It seems that at least 5 seconds is needed to avoid errors, but this means waiting 20 seconds in total, which can easily cause data accumulation in a streaming context.

Is there a better solution?