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 摘要。