xline-kv / Xline

A geo-distributed KV store for metadata management
https://xline.cloud
Apache License 2.0
596 stars 74 forks source link

[Refactor]: startup process #629

Closed themanforfree closed 8 months ago

themanforfree commented 8 months ago

Description about the feature

Currently, before XlineServer starts, we need to get information such as cluster_info and db, and these logics are scattered in the main and test cluster implementations, if these logics changed, we need to modify multiple locations, which is a very bad implementation, so we need to refactor the XlineServer startup logic and use the same sub-methods in all locations

Code of Conduct