diff options
author | unknown <marko@hundin.mysql.fi> | 2004-10-07 15:58:47 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-10-07 15:58:47 +0300 |
commit | 7949ffc86aa4789a8c3fe886721db974d9914c79 (patch) | |
tree | 6c6c71ac06543487ce1be974ef3195580c76cb53 /innobase/include | |
parent | 1601646a8846c5246d803411fc349237bfdd998b (diff) | |
download | mariadb-git-7949ffc86aa4789a8c3fe886721db974d9914c79.tar.gz |
InnoDB: tolerate system clock glitches a little better
in the error monitor thread. (Bug #5898)
innobase/include/sync0arr.h:
sync_array_print_long_waits(): return error status
innobase/srv/srv0srv.c:
srv_error_monitor_thread(): Keep track on successive fatal timeouts,
and crash the server only if the timeouts have been exceeded for
several times in succession.
innobase/sync/sync0arr.c:
sync_array_print_long_waits(): return error status
Diffstat (limited to 'innobase/include')
-rw-r--r-- | innobase/include/sync0arr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/innobase/include/sync0arr.h b/innobase/include/sync0arr.h index 4324f2d3f2c..73496a2ea84 100644 --- a/innobase/include/sync0arr.h +++ b/innobase/include/sync0arr.h @@ -97,9 +97,11 @@ sync_arr_wake_threads_if_sema_free(void); /************************************************************************** Prints warnings of long semaphore waits to stderr. */ -void +ibool sync_array_print_long_waits(void); /*=============================*/ + /* out: TRUE if fatal semaphore wait threshold + was exceeded */ /************************************************************************ Validates the integrity of the wait array. Checks that the number of reserved cells equals the count variable. */ |