Closed amurde closed 2 years ago
Hi! That's related to the issue, found yesterday. To solve it you need:
begin;
lock table "BakingRights" in exclusive mode;
select setval('"BakingRights_Id_seq"', (select max("Id") + 1 from "BakingRights"), false);
commit;
Also, please, stay tuned. The latest commit is just a hotfix. We are still investigating the issue and will prepare a release version within 2-3 days.
Hello, yes, sequence resetting was working ok. Also applied latest hotfix.
Now it is ok with all my nodes.
Thank you!
Hello, i am running Tzkt for production. Mainnet, node version 12.2.
Tonight tzkt indexer hits the limits on sequence (as i understand it):
fail: Tzkt.Sync.Services.Observer[0] Failed to apply updates. 2200H: nextval: reached maximum value of sequence "BakingRights_Id_seq" (2147483647)
Please let me know if i can gather additional debug information. I am in situation when production service is down.
API and indexer is at version 1.8.0