You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the system is shutdown during state verification, there is a
warning in the log showing
```
WARN[2020-02-04T18:14:19.987+01:00] State verification errored err="addAccountsToStateVerifier failed: Error running history.Q.GetAccountsByIDs: select failed: context canceled" pid=99452 service=expingest
```
If the system is being shutdown gracefully which is the case when we
get this errors, then we shouldn't log an error.
Fixstellar#2224
If the system is shutdown during state verification, there is a
warning in the log showing
```
WARN[2020-02-04T18:14:19.987+01:00] State verification errored err="addAccountsToStateVerifier failed: Error running history.Q.GetAccountsByIDs: select failed: context canceled" pid=99452 service=expingest
```
If the system is being shutdown gracefully which is the case when we
get this errors, then we shouldn't log an error.
Fixstellar#2224
…verifyState. (#2366)
* Ignore db.ErrCanceled and ctx.Canceled returned by verifyState
If the system is shutdown during state verification, there is a
warning in the log showing
```
WARN[2020-02-04T18:14:19.987+01:00] State verification errored err="addAccountsToStateVerifier failed: Error running history.Q.GetAccountsByIDs: select failed: context canceled" pid=99452 service=expingest
```
If the system is being shutdown gracefully which is the case when we
get this errors, then we shouldn't log an error.
Fix#2224
* Add isCancelledError.
* Use isCancelledError in runStateMachine.
* Simplify isCancelledError.
What version are you using?
What did you do?
Horizon shutdown during state verification.
What did you expect to see?
No errors.
What did you see instead?
Looks like we should add similar condition like in:
go/services/horizon/internal/expingest/main.go
Lines 238 to 246 in 6af401e
Seems like it's a simple fix but we're going to release beta really soon so adding to stable milestone.
The text was updated successfully, but these errors were encountered: