Salesforce

Cannot disable replication offline when AI extents are LOCKED and the BUSY extent is full

« Go Back

Information

 
TitleCannot disable replication offline when AI extents are LOCKED and the BUSY extent is full
URL NameP123871
Article Number000165716
EnvironmentProduct: OpenEdge Replication
Version: 10.1A, 10.1B
OS: All supported platforms
Question/Problem Description
Cannot disable replication if database is shutdown and there are no AI space remaining in the current AI sequence error 3775

Cannot disable replication offline when AI extents are all LOCKED and the BUSY extent is full.
$  proutil <dbname> -C disablesitereplication source

Disabling Replication offline requires an AI switch
Steps to Reproduce
Clarifying Information
Disabling Replication online with DSRUTIL does not trigger an AI switch
Error MessageCan't switch to after-image extent <extent> it is full. (3775)
Backup after-image extent and mark it as empty. (3774)
Defect NumberDefect OE00149697 / PSC00185432
Enhancement Number
Cause
A one entry transaction table is allocated when the database is opened in single user mode. Since there is no space in the current BUSY AI file to save this entry, an AI switch is needed which then fails due to no EMPTY AI extents available in sequence.
Resolution
Upgrade to OpenEdge 10.1B02 Service Pack or later.
Workaround
Add additional AI areas:

Adding AI areas will only work if the BUSY area is physically the last AI area, so that any newly added EMPTY areas would follow.   There is a known issue with PROSTRCT reorder ai, whereby the reorder fails when these conditions are not met.  Refer to Article 000011649  

The following Workarounds will need after imaging and replication to be re-established once complete.

1.  Backup the database using probkup with the -norecover option and then restore the database into a new structure.
$   probkup <dbname> <dbname.bkup> -norecover

2.  Restore the source database from a previous backup and roll-forward AI files.

3.  Disable replication by rebuilding the Control Area:

With source db down:

Ensure structure file is current:
$   prostrct list dbname dbname.st

Rename the Control Area
$  ren dbname.db dbname.origdb  

Rebuild the Control Area
$  prostrct builddb dbname.

At this point replication will need to be re-established. 

4.  Force entry into the database and dump/load the data.  Not recommended because the force option can cause corruption.

 
Notes
Keyword Phrase
Last Modified Date11/20/2020 7:36 AM

Powered by