package
0.0.0-20240830124323-c3d2d57c8a5a
Repository: https://github.com/fantom-foundation/carmendb.git
Documentation: pkg.go.dev

# Functions

NewCoordinator creates a new checkpoint coordinator using the given directory for retaining coordination information and managing the creation and restoration of checkpoints for the given participants.
NewMockCoordinator creates a new mock instance.
NewMockParticipant creates a new mock instance.
Restore restores the given participants to the last checkpoint that was created by a coordinator which was using the given directory for tracking checkpoints.

# Structs

MockCoordinator is a mock of Coordinator interface.
MockCoordinatorMockRecorder is the mock recorder for MockCoordinator.
MockParticipant is a mock of Participant interface.
MockParticipantMockRecorder is the mock recorder for MockParticipant.

# Interfaces

Coordinator is able to coordinate the creation and restoration of checkpoints with multiple participants.
Participant engages in a coordinated creation and restoration of checkpoints.
Restorer is able to restore a previously created checkpoint for a participating data structure.

# Type aliases

A checkpoint is a monotonically increasing number that is used to identify a backup state of a data structure that can be created in coordination with multiple participants.