aschegolskiy

Results 6 comments of aschegolskiy

And also following entries: AZ-VS-DB02 (replica) Tue Jul 22 16:27:10 2025 Database: E:\DB_REPL\DB_AZ.IB ERROR: violation of FOREIGN KEY constraint "FK_CLIENTLAST_1" on table "CLIENTLAST" Foreign key reference target does not exist...

> It looks like you have read-write replica and someone mess with data in the target database so data conflicts happen. No, it's in read only mode. I double checked...

We usually re-initialize replica every week (on Sundays), after backup/restore DB. It was done on July 20th before above mentioned logs. We tried to find the reason for these errors....

We'll keep an eye on the logs some more and I'll write the results.

> on which FB version Firebird 5.0.3.1683

As for now, the issue was caused by our deleting "old' archive logs. We disabled backup script code which does deletion, and got no errors and warnings mentioned above ....