From 48a132217cabf6ce509d8e0c6605a78a9526755b Mon Sep 17 00:00:00 2001 From: Konstantin Osipov <kostja@tarantool.org> Date: Thu, 20 Dec 2012 19:04:36 +0400 Subject: [PATCH] Add a comment. --- src/recovery.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/recovery.m b/src/recovery.m index 1af7f72ea8..1589835ee0 100644 --- a/src/recovery.m +++ b/src/recovery.m @@ -782,6 +782,13 @@ wal_schedule(ev_watcher *watcher, int event __attribute__((unused))) (void) tt_pthread_mutex_unlock(&writer->mutex); wal_schedule_queue(&commit); + /* + * Perform a cascading abort of all transactions which + * depend on the transaction which failed to get written + * to the write ahead log. Abort transactions + * in reverse order, performing a playback of the + * in-memory database state. + */ STAILQ_REVERSE(&rollback, wal_write_request, wal_fifo_entry); wal_schedule_queue(&rollback); } -- GitLab