dovecot-2.2: lib-index: If locking transaction log times out, sh...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Oct 9 15:21:31 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/ec1fd3dc0a74
changeset: 17925:ec1fd3dc0a74
user: Timo Sirainen <tss at iki.fi>
date: Thu Oct 09 18:20:56 2014 +0300
description:
lib-index: If locking transaction log times out, show the PID which has it locked.
diffstat:
src/lib-index/mail-transaction-log-file.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r 1c3dcade6f02 -r ec1fd3dc0a74 src/lib-index/mail-transaction-log-file.c
--- a/src/lib-index/mail-transaction-log-file.c Thu Oct 09 18:19:11 2014 +0300
+++ b/src/lib-index/mail-transaction-log-file.c Thu Oct 09 18:20:56 2014 +0300
@@ -387,8 +387,9 @@
mail_index_set_error(file->log->index,
"Timeout (%us) while waiting for lock for "
- "transaction log file %s",
- lock_timeout_secs, file->filepath);
+ "transaction log file %s%s",
+ lock_timeout_secs, file->filepath,
+ file_lock_find(file->fd, file->log->index->lock_method, F_WRLCK));
file->log->index->index_lock_timeout = TRUE;
return -1;
}
More information about the dovecot-cvs
mailing list