Processing stuck files after resolving split-brain

After you resolve the network issue causing split-brain, process the stuck files to resend events.

Procedure

To process the stuck files, complete the following steps:

  1. Use the eventUtility script to resend events for incomplete messages.
    1. Run the eventUtility to list the unprocessed files on data centers.
      ./eventUtility.sh listEvents --appName=B2Bi --processStatus="PROCESSING" --sourceDC=<failed DC> --targetDC=<Surviving DC>
    2. Run the eventUtility to resend events for files that were in the middle of processing in the failed data center:
      ./eventUtility.sh resendEvents --appName=B2Bi --processStatus="PROCESSING" --sourceDC=<failed DC> --targetDC=<Surviving DC> --adminUser=<userid> --adminPassword=<password>
    3. Run the eventUtility to resend events for unprocessed files in the failed data center:
      ./eventUtility.sh resendEvents --appName=B2Bi --processStatus="UNPROCESSED" --sourceDC=<failed DC> --targetDC=<Surviving DC> --adminUser=<userid> --adminPassword=<password>
    4. Run the eventUtility to complete an Evaluate for messages that do not have an event associated with them:
      ./eventUtility.sh evaluateRules --appName=B2Bi --outputFile=<file name> --adminUser=admin --adminPassword=<password>
    Tip: See eventUtility script for more information about the eventUtility script and a list of additional parameters.
  2. Ensure that files are being uploaded to both data centers and that messages are processing.