Il comando syncreplica –export suppone la corretta consegna del pacchetto di aggiornamento generato. Ad esempio, quando la replica boston_hub invia un aggiornamento alla replica sanfran_hub, il comando syncreplica suppone che le operazioni create in boston_hub sono importate nella replica sanfran_hub. Per convenienza, questo esempio non riflette il fatto che il pacchetto di aggiornamento può anche contenere le operazioni create sulle altre repliche della famiglia.
Se il pacchetto viene perso, boston_hub deve reimpostare la stima dello stato di replica sanfran_hub. Una volta apportata questa correzione, il successivo pacchetto di aggiornamento inviato da boston_hub a sanfran_hub contiene le operazioni sanfran_hub necessarie.
Per reimpostare la riga epoch:
multiutil lsepoch -clan telecomm -site sanfran_hub -family PRODA -user jcole -p secret sanfran_hub Multiutil: Estimates of the epochs from each site replayed at site ’sanfran_hub’ (@goldengate): BANGALORE: 950 BOSTON_HUB: 1300 SANFRAN_HUB: 2000
multiutil chepoch -clan telecomm -site boston_hub -family PRODA -user bostonadmin -password secret sanfran_hub bangalore=950 boston_hub=1300 sanfran_hub=2000 Multiutil: Change the estimate for the epochs of site ‘bangalore’ replayed at site ‘sanfran_hub’ to 950 [yes|NO|quit]yes Multiutil: Change the estimate for the epochs of site ‘boston_hub’ replayed at site ‘sanfran_hub’ to 1300 [yes|NO|quit]yes Multiutil: Change the estimate for the epochs of site ‘sanfran_hub’ replayed at site ‘sanfran_hub’ to 2000 [yes|NO|quit]yes Multiutil: 3 epoch estimate(s) for site ‘sanfran_hub’ successfully changed; 0 failures. Multiutil: Estimates of the epochs from each site replayed at site ‘sanfran_hub’ (@goldengate): BANGALORE: 950 BOSTON_HUB: 1300 SANFRAN_HUB: 2000