diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2018-01-27 10:18:20 +0000 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2018-01-27 10:18:20 +0000 |
commit | 445e518bc7aa5f4bb48d98e798905c9c0b0ce673 (patch) | |
tree | 3f8638a62beb8f0c82c7096bc68943cdd2ff27c3 /storage/rocksdb/rdb_io_watchdog.cc | |
parent | 3fae64b196cfb94ac4084d02c5745285589c6b48 (diff) | |
download | mariadb-git-445e518bc7aa5f4bb48d98e798905c9c0b0ce673.tar.gz |
Copy of
commit f8f364b47f2784f16b401f27658f1c16eaf348ec
Author: Jay Edgar <jkedgar@fb.com>
Date: Tue Oct 17 15:19:31 2017 -0700
Add a hashed, hierarchical, wheel timer implementation
Summary:
In order to implement idle timeouts on detached sessions we need something inside MySQL that is lightweight and can handle calling events in the future with very little cost for cancelling or resetting the event. A hashed, hi
By default the timers are grouped into 10ms buckets (the 'hashed' part), though the size of the buckets is configurable at the creation of the timer. Each wheel (the 'wheel' part) maintains 256 buckets and cascades to the whe
Reviewed By: djwatson
Differential Revision: D6199806
fbshipit-source-id: 5e1590f
Diffstat (limited to 'storage/rocksdb/rdb_io_watchdog.cc')
-rw-r--r-- | storage/rocksdb/rdb_io_watchdog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/rocksdb/rdb_io_watchdog.cc b/storage/rocksdb/rdb_io_watchdog.cc index 7b229eee47d..039ab05c2ed 100644 --- a/storage/rocksdb/rdb_io_watchdog.cc +++ b/storage/rocksdb/rdb_io_watchdog.cc @@ -42,7 +42,7 @@ void Rdb_io_watchdog::expire_io_callback(union sigval timer_data) { "Shutting the service down.", m_write_timeout); - abort_with_stack_traces(); + abort(); } void Rdb_io_watchdog::io_check_callback(union sigval timer_data) { |