Leases occasionally fail with a constraint violation
未關閉
- 主要語言
- Go
- 星號
- 8
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
描述
```
[02] 17:51:47 DBG Failed to acquire lease, will retry
error="/Users/alec/dev/zero/providers/leases/sql.go:213: /Users/alec/dev/zero/providers/sql/postgres.go:33: constraint violation: ERROR: duplicate key value violates unique constraint \"leases_pkey\" (SQLSTATE 23505)"
```
Update: this appears to be during hot reload, so is actually probably the correct behaviour. It probably hot reloaded while the lease was held and has to wait for it to expire.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。