Method 3: lshistory and chepoch method

To recover a lost packet, you can use the lshistory command to determine the epoch numbers when the packet was generated and then use a chepoch command to reset the sending replica's epoch table.

About this task

Procedure

  1. At the sending replica, use lshistory to determine the epoch numbers when the packet was generated:
    cleartool lshistory –long replica:sanfran_hub
    30-Jul.14:42:50     Susan Goechs (susan.user@minuteman)
      export sync from replica "boston_hub" to replica "sanfran_hub"
      “Exported synchronization information for replica "sanfran_hub".
      Row at export was: bangalore=950 boston_hub=1300 sanfran_hub=2000"
    23-Jul.17:36:46     Susan Goechs (susan.user@minuteman)
      export sync from replica "boston_hub" to replica "sanfran_hub"
      “Exported synchronization information for replica "sanfran_hub".
      Row at export was: bangalore=900 boston_hub=800 sanfran_hub=1500"
    ...
    
  2. At the sending replica, use this output in a chepoch command:
    multitool chepoch sanfran_hub bangalore=950 boston_hub=1300 sanfran_hub=2000
    Change oplog IDs in row "sanfran_hub" [no] yes
    Epoch row successfully set.