Skip to content

[server] improve performance of Coordinator Server initCoordinatorContext() #1360

@zcoo

Description

@zcoo

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Now, when Coordinator server failover and restart, it cost extremely long time to recover memory from Zookeeper.
In my test, for a cluster with 100 tables and 102400 buckets, it cost 819s to execute
initCoordinatorContext()
Image

Solution

We can get data from Zookeeper asynchronously instead of current synchronous way.
No response

Anything else?

No response

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions