Skip to content

Commit

Permalink
feat(runtime): When resetting the log for executor, also reset the lo…
Browse files Browse the repository at this point in the history
…gical time
  • Loading branch information
symbiont-daniel-gustafsson committed Nov 12, 2021
1 parent 2e42da0 commit 5a383d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/executor-event-loop/eventloop.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ func (el *EventLoop) processAdmin(cmd AdminCommand) bool {
case AdminResetLog:
fmt.Printf("resetting log\n")
el.Log = make([]TimestampedLogEntry, 0)
*el.LogicalTime = 0
cmd.Response("Log reseted\n")
return false
case AdminResetReactors:
Expand Down

0 comments on commit 5a383d5

Please sign in to comment.