alecthomas / alecthomas/zero

Leases occasionally fail with a constraint violation

未關閉
#15 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。