Der Befehl syncreplica –export setzt die erfolgreiche Übermittlung der erstellten Aktualisierungspakete voraus. Wenn beispielsweise das Replikat boston_hub eine Aktualisierung an das Replikat sanfran_hub sendet, setzt der Befehl syncreplica voraus, dass die Operationen von boston_hub auf dem Replikat sanfran_hub importiert werden. Der Einfachheit halber wird in diesem Beispiel die Möglichkeit ignoriert, dass das Aktualisierungspaket ebenfalls Operationen enthalten kann, die von anderen Replikaten der Familie stammen.
Geht das Paket verloren, muss boston_hub seine Schätzung des Status von sanfran_hub zurücksetzen. Wenn diese Korrektur erfolgt ist, enthält das nächste Aktualisierungspaket von boston_hub an sanfran_hub die Operationen, die sanfran_hub benötigt.
Setzen Sie die Epochenzeile wie folgt zurück:
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