Hi,

It's a bit unexpected that startup and shutdown a ratis server with an
empty state machine (extends BaseStateMachine without any override)
returns this error:

> Failed to FORMAT: One or more existing directories found

The data under the directory should be compatible between the two starting-ups.

You can reproduce it with [1] running EtcdServer's main function twice.

I don't know why I encountered this exception and if it's a bug or if
I should modify the application logic.

Best,
tison.

[1] https://github.com/tisonkun/ratis-etcd

Reply via email to