Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
plorenz committed Jul 2, 2024
1 parent afbd655 commit 9da5d31
Show file tree
Hide file tree
Showing 14 changed files with 711 additions and 118 deletions.
2 changes: 1 addition & 1 deletion common/event_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (cache *ForgetfulEventCache) Store(event *edge_ctrl_pb.DataState_ChangeSet,

if cache.index != nil {
if *cache.index >= event.Index {
return fmt.Errorf("out of order event detected, currentIndex: %d, recievedIndex: %d, type :%T", *cache.index, event.Index, cache)
return fmt.Errorf("out of order event detected, currentIndex: %d, receivedIndex: %d, type :%T", *cache.index, event.Index, cache)
}
}

Expand Down
Loading

0 comments on commit 9da5d31

Please sign in to comment.