Packages

package repair

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. repair
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final class CommitmentsService extends NamedLogging with FlagCloseable with HasCloseContext

    Implements the repair commands for ACS commitments.

    Implements the repair commands for ACS commitments. These do not require that the participants disconnects from synchronizers.

  2. sealed abstract class ContractIdsImportProcessor extends NamedLogging
  3. final case class RepairContext(str: String255) extends LengthLimitedStringWrapper with PrettyPrinting with Product with Serializable

    Make tracecontext mandatory throughout repair operations.

    Make tracecontext mandatory throughout repair operations.

    str

    the w3c serialized tracing information of the trace parent The W3C standard specifies that the traceparent is length-limited -> thus it is safe to limit it to 255 characters However, Tracestates aren't limited, so the repair context should be saved as a blob (like com.digitalasset.canton.tracing.TraceContext) if we want to use it for repair contexts

  4. final class RepairService extends NamedLogging with FlagCloseable with HasCloseContext

    Implements the repair commands.

    Implements the repair commands. Repair commands work only if the participant has disconnected from the affected synchronizers. Additionally for repair commands, which change the Ledger API events: all synchronizers needs to be disconnected, and the indexer is switched to repair mode. Every individual repair command is executed transactionally, i.e., either all its effects are applied or none. This is achieved by the repair-indexer only changing the Synchronizer Indexes for the affected synchronizers after all previous operations were successful, and the emitted Update events are all persisted. In case of an error during repair, or crash during repair: on node and synchronizer recovery all the changes will be purged. During a repair operation (as synchronizers are disconnected) no new events are visible on the Ledger API, neither the ones added by the ongoing repair. As the repair operation successfully finished new events (if any) will become visible on the Ledger API - Ledger End and synchronizer indexes change, open tailing streams start emitting the repair events if applicable.

  5. sealed trait RepairServiceError extends Product with Serializable with CantonBaseError

Inherited from AnyRef

Inherited from Any

Ungrouped