Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesCheung96 committed Jun 28, 2022
1 parent f0a3057 commit 281cd27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/config/sink.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ import (
// DefaultMaxMessageBytes sets the default value for max-message-bytes.
const DefaultMaxMessageBytes = 10 * 1024 * 1024 // 10M

// AtomicityLevel represents the atomicity level of a changefeed.
type AtomicityLevel int

const (
// UnknowTxnAtomicity is the default atomicity level, which is invalid.
UnknowTxnAtomicity AtomicityLevel = iota
// NoneTxnAtomicity means atomicity of transactions is not guaranteed
NoneTxnAtomicity
Expand Down

0 comments on commit 281cd27

Please sign in to comment.