[−][src]Module yaque::recovery
Recovery utilities for queues left in as inconsistent state. Use these functions if you need to automatically recover from a failure.
This module is dependent on the recovery
feature, which is enabled
by default.
Functions
guess_send_metadata | Guesses the send metadata for a given queue. This equals to the top position in the greatest segment present in the directory. This function will substitute the current send metadata by this guess upon acquiring the send lock on this queue. |
unlock_for_receiving | Unlocks a queue in a given directory for receiving. This function returns
an error of kind |
unlock_for_sending | Unlocks a queue in a given directory for sending. This function returns an
error of kind |
unlock_queue | Unlocks a queue in a given directory for both sending and receiving. This
function is the combination of |