com.digitalasset.canton.domain.sequencing.sequencer
WriterStartupError
Companion trait WriterStartupError
object WriterStartupError
- Alphabetic
- By Inheritance
- WriterStartupError
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class AllInstanceIndexesInUse(message: String) extends WriterStartupError with Product with Serializable
We have a upper limit of how many instances can run concurrently (this is defined by how many resource.DbLockCounters.MAX_SEQUENCER_WRITERS_AVAILABLE are allocated).
We have a upper limit of how many instances can run concurrently (this is defined by how many resource.DbLockCounters.MAX_SEQUENCER_WRITERS_AVAILABLE are allocated). We can not start a new sequencer instance if locks for all of these counters are allocated and appear online. However we can keep retrying starting on the chance that one of these will eventually go offline.
- case class BadCommitMode(message: String) extends WriterStartupError with Product with Serializable
We don't want to run the sequencer with a database commit mode that could lead to data loss, so this is optionally and by default validated upon startup.
- case class DatabaseNotSupported(message: String) extends WriterStartupError with Product with Serializable
We only support running some features with certain types of databases (locking for HA requires postgres or oracle), an enterprise config validation should prevent starting a node with a bad configuration however if we reach creating a Writer with this config this error will be returned.
- case class FailedToCreateExclusiveStorage(message: String) extends WriterStartupError with Product with Serializable
We failed to create an exclusive storage instance for this writer.
We failed to create an exclusive storage instance for this writer. Typically this will be caused by contention caused by multiple writers trying to create a lock with the same instance index. This is expected and we can just safely retry as a new free instance index will be assigned.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object WriterShuttingDown extends WriterStartupError with Product with Serializable
The sequencer is in the process of shutting down so cannot create a new sequencer writer.
The sequencer is in the process of shutting down so cannot create a new sequencer writer. If we happen to attempt to recreate the writer during a shutdown this will be logged at error level but can be safely ignored.