Issue Details (XML | Word | Printable)

Key: CORE-2348
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Vlad Khorsun
Reporter: Ertan Altekin
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Firebird Core

More problems with transaction numbers overflowing 32-bit signed integer and corrupting database

Created: 28/Feb/09 06:01 AM   Updated: 05/Jun/09 10:37 AM
Component/s: Engine
Affects Version/s: 2.1.1
Fix Version/s: 2.5 Beta 1, 2.1.3

Time Tracking:
Not Specified

Issue Links:
Relate
 


 All   Comments   Work Log   Change History   Version Control   FishEye      Sort Order: Ascending order - Click to sort in descending order
Vlad Khorsun added a comment - 28/Feb/09 06:14 AM
Why do you clone old closed ticket ?

Ertan Altekin added a comment - 28/Feb/09 10:37 AM
should I open a new ticket for the same bug?

Vlad Khorsun added a comment - 28/Feb/09 10:48 AM
Do you have reproducible test case ?
Or you just like to make copy of already closed isues ? ;)

As you provided ZERO info i don't see what to do with it

Ertan Altekin added a comment - 28/Feb/09 11:16 AM
Yes, I can reproduce this bug. Please browse to test for CORE-1042 and go to http://tracker.firebirdsql.org/browse/QA-229
if you need more informations please contact me.

Vlad Khorsun added a comment - 03/Mar/09 04:11 AM
Additional fixes for TPC was committed

Vlad Khorsun added a comment - 03/Mar/09 04:14 AM
Ertan, next time, please, put reference to the test case at the corresponding ticket.
It is impossible to find QA-229 looking at this ticket.

Ertan Altekin added a comment - 03/Mar/09 07:42 AM
I tested the fix (2.5 Beta 1), it works (as workaround) but if transaction limit exceeded, is backup not possible.

Vlad Khorsun added a comment - 03/Mar/09 08:00 AM
Does you read error message and made database read-only before backing it up ?

Ertan Altekin added a comment - 03/Mar/09 08:22 AM
OK, my mistake. It works with read-only database. thx.
Is it possible tx-number as Int64 to implement? (to avoid backup/restore)

Dmitry Yemanov added a comment - 03/Mar/09 08:27 AM
I would rather prefer to be able to wrap the 32-bit value and reuse the values.

Vlad Khorsun added a comment - 03/Mar/09 09:06 AM
Ertan Altekin> Is it possible tx-number as Int64 to implement? (to avoid backup/restore)
No, as tx numbers stored in records and we don't want to enlarge record header

Dmitry Yemanov> I would rather prefer to be able to wrap the 32-bit value and reuse the values.
Is was discussed some time ago but no good solution was offered, iirc

Vlad Khorsun added a comment - 05/Jun/09 10:37 AM
Backported into 2.1.3