zebra icon indicating copy to clipboard operation
zebra copied to clipboard

Stop panicking when attempting to run multiple Zebra instances

Open upbqdn opened this issue 3 years ago • 1 comments

Motivation

When a user attempts to run multiple simultaneous instances of Zebra without specifying a different database path for each, all instances except the first one panic because they try to use the same database.

These panics might be alarming to some users.

There are, in fact, five different kinds of such conflicts:

  • disk state
  • Zcash listener port
  • metrics port
  • tracing filter port
  • rpc port

An error-level log message and graceful shutdown might be better for these conflicts.

upbqdn avatar Dec 14 '21 14:12 upbqdn

Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @jvff @oxarbitrage @teor2345 @upbqdn

mpguerra avatar Jan 20 '22 15:01 mpguerra