Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Documentation of Rollback Recovery

...

In Odysseus, the rollback recovery uses an external application, Backup of Data Streams (BaDaSt), that preserves all incoming elements after the last checkpoint. After a crash of Odysseus and a restart, Odysseus receives all preserved elements after the last checkpoint from BaDaSt and processes them before it processes the newer elements (which are again preserved by BaDaSt, so there is no data loss). Note that Odysseus will try to use the original data source again after some time, but for data streams with a high data rate and a long time span between crash and restart, it is possible that Odysseus can not switch back to the original source. In that case, Odysseus continues to process the elements from BaDaSt.

 

Requirements: To use the rollback recovery, you have to (1) define a BaDaSt recorder for each data source that elements shall be preserved (see BaDaSt), (2) choose the rollback recovery and (3) manage the checkpoints (see Checkpointing):

Code Block
languagejava
titleExample
#PARSER PQL
#BADASTRECORDER type=TCPStringRecorder sourceame=bid
#RECOVERYCONFIGURATION RollbackRecovery protectionpointunit=MINUTES protectionpointperiod=1

 

 

Documentation under progress.