#1 2021-06-01 15:12:12

fabiovip2019
Member
Registered: 2019-03-14
Posts: 76

Problem with TRecordVersion in linux

Hello everyone, I recently noticed a strange behavior in relation to TSQLRecords that have the property TRecordVersion compiled in linux. Every time I restart the service the Counter of the Version Field is reset. This doesn't happen when compiling on windows. Has anyone ever experienced this? Do you know how to solve it?

Offline

#2 2021-06-01 15:13:18

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Problem with TRecordVersion in linux

The number is retrieved from the database at startup, IIRC.

Please check the logs and find out what happens.
Perhaps it is not due to a Linux/Windows thing, but to a DB difference.

Offline

#3 2021-06-01 17:39:47

fabiovip2019
Member
Registered: 2019-03-14
Posts: 76

Re: Problem with TRecordVersion in linux

Hi Ab, Thanks for the answer, when you say differences between dbs are you referring to the difference between the master and the slave or the db installed on linux and the db installed on windows? The problem happens in the db master

Offline

#4 2021-06-01 18:00:20

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Problem with TRecordVersion in linux

Is the main server DB is the same, check the logs and find out the executed query at startup and find out what is not the same.

Offline

#5 2021-06-02 13:55:31

fabiovip2019
Member
Registered: 2019-03-14
Posts: 76

Re: Problem with TRecordVersion in linux

Hi Ab, I checked the logs and there was nothing to indicate a problem, so I updated the versions of fcp installed on jenkins and it started working again. Thanks.

Offline

Board footer

Powered by FluxBB