The ability to write oplog entries using a ticket based system to ensure serialization. Uses a go-kms-wrapper for encrypting/decrypting entries. Co-authored-by: Jim Lambert <jlm.lambert@gmail.com> Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com> Co-authored-by: Todd Knight <T.Alan.Knight@gmail.com> Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
9 lines
253 B
Go
9 lines
253 B
Go
package oplog
|
|
|
|
// Replayable defines an interface for messages that can be replayed from the oplog entries. we need to be
|
|
// able to replay into different table names.
|
|
type ReplayableMessage interface {
|
|
TableName() string
|
|
SetTableName(name string)
|
|
}
|