Skip to content

Commit

Permalink
bugfix: fix error when using txn in cluster mode (#786)
Browse files Browse the repository at this point in the history
  • Loading branch information
suxb201 authored Mar 27, 2024
1 parent 17a6f0a commit 21781b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/reader/sync_standalone_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,10 @@ func (r *syncStandaloneReader) sendAOF(offset int64) {
if strings.EqualFold(argv[0], "opinfo") {
continue
}
// txn
if strings.EqualFold(argv[0], "multi") || strings.EqualFold(argv[0], "exec") {
continue
}
// sentinel
if strings.EqualFold(argv[0], "publish") && strings.EqualFold(argv[1], "__sentinel__:hello") {
continue
Expand Down

0 comments on commit 21781b9

Please sign in to comment.