[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference orarep::nomahs::dec_data_distributor

Title:The Replication Option for Rdb
Notice:Product renamed to Replication Option for Rdb
Moderator:BROKE::PROTEAU
Created:Wed Mar 02 1994
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:287
Total number of notes:1231

196.0. "%DDAL-E-INVLOGTRN" by CSC32::MCCRACKEN () Mon Feb 26 1996 16:42

T.RTitleUserPersonal
Name
DateLines
196.1RDB$CHANGES CorruptionBROKE::PROTEAUJean-Claude ProteauMon Feb 26 1996 17:2734
196.2How to reach us by E-mailBROKE::PROTEAUJean-Claude ProteauTue Feb 27 1996 09:246
196.3Correction to my Internet addressBROKE::PROTEAUJean-Claude ProteauMon Mar 04 1996 12:483
196.4How are the 'transactions' readORAREP::STKHLM::KNORNNOW in charge of a quartett!Fri Oct 18 1996 11:4230
    
    One time during the last three weeks, we've seen this error at
    Dagab. Next time it occurs we'll send the files requested in .1
    to Oracle.
    
    Claude, could You explain a bit more on how DDAL finds out about
    this problem ?
    
    From reading the error message description I get the impression that
    a 'commit' record is missing in RDB$CHANGES table.
    
    Once a INVLOGTRN has appeared, every subsequent transfer is aborted
    with that error message, regradless of what the transfer contains.
    
    Is there  a global 'corrupt' flag, marking RDB$CHANGES as invalid or
    does all transfer processes read the same records from the RDB$CHANGES
    table ?
    (My novice understanding is that a copy process should only read the
    records from rdb$changes wich are relevant to the table it is
    replicating)
    
    Could You please clarify ?
    
    Release notes to 6.0-11 says in one section that SQL would hang
    waiting for a completion message from the transfer monitor.....
    Could this be a cause to get the INVLOGTRN error ?
    
    Regards
    
    Stefan
196.5Re Rdb$CHANGES CorruptionBROKE::PROTEAUJean-Claude ProteauFri Oct 18 1996 16:5327
    Re: .-1
    
>    Once a INVLOGTRN has appeared, every subsequent transfer is aborted
>    with that error message, regradless of what the transfer contains.
>   
>    Is there  a global 'corrupt' flag, marking RDB$CHANGES as invalid or
>    does all transfer processes read the same records from the RDB$CHANGES
>    table ?
>    (My novice understanding is that a copy process should only read the
>    records from rdb$changes wich are relevant to the table it is
>    replicating)

Each transfer must read through all the records in the RDB$CHANGES table
and decide for itself if the record applies.  The records are not marked in
any way to say which transfers they apply to.  That's why once a corruption
occurs, all transfers are affected.
   
>    Release notes to 6.0-11 says in one section that SQL would hang
>    waiting for a completion message from the transfer monitor.....
>    Could this be a cause to get the INVLOGTRN error ?

No, I don't think this is the reason.  The most likely cause is that one
of the customer applications got a deadlock in the source database.  Instead
of rolling back the transaction, the application did a commit.  There is
something about this in the Rdb 6.0, 6.1 and 7.0 release notes.


196.6We Need Corrupted Source Database to AnalyzeBROKE::PROTEAUJean-Claude ProteauFri Oct 18 1996 18:325
    
    In order to research this problem further, we would like to obtain a
    copy of a source database in which the RDB$CHANGES table appears to be
    corrupt.  We'ld also need the after image journal files to go with it.
    Please respond if you have such evidence.
196.7We'll collect it next timeORAREP::STKHLM::KNORNNOW in charge of a quartett!Mon Oct 21 1996 06:2412
    
    Thanks for the explaination Claude. Currently we don't have any
    corrupt database (it's been restored to a proper state). 
    When (or rahter if) the problem occurs again, we'll make sure to
    save the source database. In that case You'll get a 
    	* a correct full database backup
    	* the AIJ's containing the transactions leading to the 
          corrupt database situation.
    
    Regards
    
    Stefan
196.8It happend again, unfortionentlyORAREP::STKHLM::KNORNNOW in charge of a quartett!Tue Nov 05 1996 05:114
 The error occured again last night so now the customer will be
 able to get the files requested.

 Stefan
196.9We are closing in on an answerBROKE::PROTEAUJean-Claude ProteauFri Dec 06 1996 14:1212
    Stefan,
    
    We have been researching the INVLOGTRN error for a customer in the USA.
    We have an idea what is happening, but we need to figure out what to
    do.  It will require software changes in Replication Option and in Rdb
    most likely.
    
    Would you please find out from your customer if LOCK TIMEOUT is
    enabled for the source database either as a logical name or as a
    database option?
    
    Claude