流失封包回復

本主題提供當封包遞送失敗時,在接收和傳送網站中,從流失封包回復的相關資訊。
在幾種情況下,會產生更新封包,但絕不套用至它的一或多個目的地:

syncreplica –export 指令假設成功遞送它產生的更新封包。例如,當抄本 boston_hub 傳送更新項目至抄本 sanfran_hub 時,syncreplica 指令假設在 boston_hub 產生的作業會匯入 sanfran_hub 抄本中。為了簡單起見,此範例不會反映這個事實:更新封包也可以包含在系列的其他抄本上產生的作業。

如果封包流失,boston_hub 必須重設它對抄本 sanfran_hub 的狀態的預估值。完成這項更正之後,從 boston_hub 傳送到 sanfran_hub 的下一個更新封包會包含 sanfran_hub 需要的作業。

如果要重設新紀元列:

  1. 在接收的抄本 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
  2. 在傳送的抄本 boston_hub 上,於 chepoch 指令中使用此輸出。這會將 sanfran_hubboston_hub 紀元編號預估值設定為 sanfran_hub 紀元編號矩陣的實際值:
    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

意見