Salesforce

Cannot roll forward AI files when sequence number is larger than 65535 error 8019

« Go Back

Information

 
TitleCannot roll forward AI files when sequence number is larger than 65535 error 8019
URL NameP111178
Article Number000142354
EnvironmentProduct: Progress
Version: 9.1x
Product: OpenEdge
Version: 10.0x, 10.1A, 10.1B, 10.1C, 10.2A
OS: All supported platforms
Other: RFUTIL roll forward
Question/Problem Description
Cannot roll forward AI files when sequence number is larger than 65535 error 8019
Applying an AI file with a sequence number larger than 65535 fails
Steps to Reproduce
Clarifying Information
Cannot roll forward AI files when sequence number is larger than 65535
Error MessageExpected ai file number 1 but file specified is 65536 in sequence. (8019)
Roll forward open pathname/dbname.aX error: -1
Defect NumberEnhancement OE00181957 / PSC00211589
Enhancement Number
Cause
There is a known product limit in earlier versions which is enhanced in later OpenEdge releases.  Progress can create but not roll forward after-image files with sequence numbers higher than 65535. OpenEdge ​Replication is not affected by this limit - replication is at the ai block level not the sequence (aka file) level.
Resolution
Upgrade to OpenEdge 10.1C04; 10.2A02 or 10.2B where this product limit has been addressed. In these versions the new roll forward sequence limit is 2,147,483,647.

 
Workaround
If an upgrade is not possible the following corrective method will be necessary in order to be able to use ai files for roll forward:
 
Re-enable the after image on the source database in order to reset the sequence number.
A new backup (online or offline) from the source database can then be restored to the hotspare database (target), where roll forward then begins again at sequence 1.
 
In future, parse or monitor the database log file for messages nearing:
This is after-image file number 65535 since the last AIMAGE BEGIN (3778)
 
Once the ai sequence has hit the limit, after-imaging will need to be re-set again.
This is after-image file number 65536 since the last AIMAGE BEGIN (3778)
 
Depending on the environment, depends how 'quickly' these sequences are used up. 
 
For example,
  • ai switch every 5 minutes in a 24x7 environment, would mean every 227 days (excluding switches associated with probkup, proquiet)
  • ai switch every 10 minutes in a 24x7 environment, would mean every 455 days (excluding switches associated with probkup, proquiet)
  • ai switch every 25MB fixed ai extent, would mean every 1600 GB worth of ai notes  (excluding switches associated with probkup, proquiet)
Consider decreasing the frequency at which the ai extents are switched on the production environment in order to prolong the need to reset the AI sequence in a given environment.
Notes
Keyword Phrase
Last Modified Date12/15/2016 10:14 AM

Powered by