Issue Details (XML | Word | Printable)

Key: CORE-5869
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vlad Khorsun
Reporter: Vlad Khorsun
Votes: 1
Watchers: 2
Operations

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

Sweep can't move OIT value over 2^32, when Next already greater than 2^32 (4'294'967'296)

Created: 10/Jul/18 04:30 PM   Updated: 08/Jun/19 09:13 AM
Component/s: Engine
Affects Version/s: 3.0.0, 3.0.1, 3.0.2, 3.0.3
Fix Version/s: 3.0.4

QA Status: Cannot be tested
Test Details:
It is not big problem to open fdb file and write into its header needed big values for Tx counters.
The real difficulty is to create multiple pages with type = TIP, with filling them and also to add references to them in RDB$PAGES (one *need* to create such pages otherwise bugcheck "cannot find tip page (165)" will raise).
This task looks impracticable, at least for nowadays.



 Description  « Hide
First sweep run:

Sweep is started by SYSDBA
Database "S:\TEMP\TX.30.FDB"
OIT 4294965022, OAT 4294985533, OST 4294985533, Next 4294985533


Sweep is finished
Database "S:\TEMP\TX.30.FDB"
OIT 18238, OAT 4294985533, OST 4294985533, Next 4294985534

Run sweep again

Sweep is started by SYSDBA
Database "S:\TEMP\TX.30.FDB"
OIT 4294965022, OAT 4294985534, OST 4294985534, Next 4294985534


Sweep is finished
Database "S:\TEMP\TX.30.FDB"
OIT 18239, OAT 4294985534, OST 4294985534, Next 4294985535

Note:
- OIT is less than 2^32 (4'294'965'022 < 4'294'967'296), while Next is greater than 2^32 (4'294'985'534 > 4'294'967'296)
- OIT is the same at both "Sweep is started" message , i.e. it was not moved by sweep
- "Sweep is finished" message contains wrong OIT value (truncated to 32-bit number)


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Vlad Khorsun made changes - 10/Jul/18 04:30 PM
Field Original Value New Value
Assignee Vlad Khorsun [ hvlad ]
Vlad Khorsun made changes - 11/Jul/18 10:10 AM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.0.4 [ 10863 ]
Resolution Fixed [ 1 ]
Pavel Zotov made changes - 08/Jun/19 09:13 AM
Status Resolved [ 5 ] Resolved [ 5 ]
Test Details It is not big problem to open fdb file and write into its header needed big values for Tx counters.
The real difficulty is to create multiple pages with type = TIP, with filling them and also to add references to them in RDB$PAGES (one *need* to create such pages otherwise bugcheck "cannot find tip page (165)" will raise).
This task looks impracticable, at least for nowadays.

QA Status No test Cannot be tested
Pavel Zotov made changes - 08/Jun/19 09:13 AM
Status Resolved [ 5 ] Closed [ 6 ]