com.digitalasset.canton.synchronizer.sequencer
WriterStartupError
Companion trait WriterStartupError
object WriterStartupError
- Alphabetic
- By Inheritance
- WriterStartupError
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final 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 com.digitalasset.canton.config.DbLockConfig.MAX_SEQUENCER_WRITERS_AVAILABLE are allocated).
We have a upper limit of how many instances can run concurrently (this is defined by how many com.digitalasset.canton.config.DbLockConfig.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.
- final 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.
- final 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), 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.
- final 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.
- final case class FailedToInitializeFromSnapshot(message: String) extends WriterStartupError with Product with Serializable
When creating a separate database sequencer from a snapshot given by another one, there was an error consuming the snapshot to initialize the initial state.
When creating a separate database sequencer from a snapshot given by another one, there was an error consuming the snapshot to initialize the initial state. If this is a database problem, it can be retried. Other kinds of issues would indicate that the new sequencer does not have a fresh database, which is a fundamental requirement for being able to start a new sequencer fresh from a snapshot.
- final case class WatermarkResetError(message: String) extends WriterStartupError with Product with Serializable
Failed to reset the watermark during the recovery
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]) @IntrinsicCandidate() @native()
- 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
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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.