Closed legionxiong closed 1 year ago
@legionxiong What's the use case you have where you're frequently updating the primary in a static lease? Static leases are meant to have a single static primary. I'm hesitant to add a lot of command line flags.
@legionxiong What's the use case you have where you're frequently updating the primary in a static lease? Static leases are meant to have a single static primary. I'm hesitant to add a lot of command line flags.
It is meant to start new litefs primary
and restart replicas
quickly without updating each node's litefs.yaml
.
I'm going to close this for now as I'd like to avoid adding CLI flags where possible.
It would be nice if it could config
candidate
andadvertise-url
from command line for static lease. Then we do not need to updatelitefs.yaml
config file frequently.