horaedb icon indicating copy to clipboard operation
horaedb copied to clipboard

feat: setup in different deployment mode

Open ShiKaiWi opened this issue 3 years ago • 0 comments

Which issue does this PR close?

Closes #92

Rationale for this change

After all the work concerning cluster mode done, we need to support to start server in cluster mode (now the server can only start standalone).

What changes are included in this PR?

  • Replace the Manager type parameter in Server/Instance/... with trait object.
  • Add config to control in which mode the server starts.
  • Refactor the setup procedure for different deloyment mode.

Are there any user-facing changes?

New configurations are introduced.

How does this change test

This PR should be tested with CeresMeta manually.

ShiKaiWi avatar Aug 11 '22 11:08 ShiKaiWi