Closed ronnybremer closed 3 hours ago
What happens now that you have reached the limit? Is MySQL refusing inserts?
unable to xfr zone (PDNSException): GSQLBackend unable to feed record xxx.com|NS: Could not execute mysql statement: insert into records (content,ttl,prio,type,domain_id,disabled,name,ordername,auth) values (?,?,?,?,?,?,?,?,?): Duplicate entry '2147483647' for key 'records.PRIMARY'
maybe using BIGINT?
the schema has said BIGINT since 4.1.0. Did you miss part of a schema migration?
@Habbie uhm ... that would be possible, I will verify it. Thank you for the hint!
grrr ... thank you again @Habbie! The schema was modified before, but the 3.4 to 4.1 was never executed. I did that now and the issue immediately went away.
Short description
Using MySQL as a backend the ID column did overflow after many years of operation. ID column is current type "INT" and hit the ceiling at 2147483646.
Environment
Steps to reproduce
Expected behaviour
maybe using BIGINT?
Actual behaviour
INT column did reach the maximum value
Other information
maybe there is a way to "re-org" the table, but I wouldn't know if the ID column from the records table is referenced somewhere else.