duplicate key value violates unique constraint "auth_name_key" Key (name)=(basu) already exists. #1189
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#1189
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
2021-12-19 11:56:00: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback createAuth(): PostgreSQL database error: ERROR: duplicate key value violates unique constraint "auth_name_key"
2021-12-19 11:56:00: ERROR[Main]: DETAIL: Key (name)=(basu) already exists.
2021-12-19 11:56:00: ERROR[Main]: stack traceback:
2021-12-19 11:56:00: ERROR[Main]: [C]: at 0x557f09c49420
https://github.com/minetest/minetest/issues/11877
Minetest version
OS / Hardware
Operating system: debian 11
CPU: AMD Epyc 7282
Postgres postgresql-13 13.5-0+deb11u1
Summary
Backup of 2021-12-16-19-29 does not have a player called "basu" in the auth table, now there is one but logindate is -1
There is a different playername that includes "basu" , like Xyzbasu
Repro
I do not have a repro of any kind, the error happened over the course of 2 years more than once, while the other 16 000 accs had no trouble of that kind.
For my reference 1189
Happened again:
This time MT server version 5.5.0, OS debian testing, database postgresql 14.2
I wonder if this happens if 2 attempts are made to register a player "at the same time"? Or, possibly if a "register new player" packet is sent by a client for an already registered name?
flux referenced this issue2022-04-24 16:13:00 +00:00
when i try to replicate this locally i get a different error:
or
https://github.com/minetest/minetest/pull/12234 was merged; we should make use of that ASAP
Instead of a 5.5.1 like they should have done, they made a backport branch: https://github.com/minetest/minetest/tree/backport-5
I'll rebuild the engine based on this branch.
The backport branch is active now, no more crashes occurred until now.