syncreplica –export 指令假設成功遞送它產生的更新封包。例如,當抄本 boston_hub 傳送更新項目至抄本 sanfran_hub 時,syncreplica 指令假設在 boston_hub 產生的作業會匯入 sanfran_hub 抄本中。為了簡單起見,此範例不會反映這個事實:更新封包也可以包含在系列的其他抄本上產生的作業。
如果封包流失,boston_hub 必須重設它對抄本 sanfran_hub 的狀態的預估值。完成這項更正之後,從 boston_hub 傳送到 sanfran_hub 的下一個更新封包會包含 sanfran_hub 需要的作業。
如果要重設新紀元列:
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