Commit 6833b977 authored by Sergey Vojtovich's avatar Sergey Vojtovich

Applying InnoDB snapshot

Detailed revision comments:

r6614 | inaam | 2010-02-09 20:26:23 +0200 (Tue, 09 Feb 2010) | 7 lines
branches/plugin rb://242

Let the master thread sleep if the amount of work to be done is
calibrated as taking less than a second.

Approved by: Heikki
parent 41c82f88
...@@ -2524,9 +2524,12 @@ loop: ...@@ -2524,9 +2524,12 @@ loop:
BUF_FLUSH_LIST, BUF_FLUSH_LIST,
n_flush, n_flush,
IB_ULONGLONG_MAX); IB_ULONGLONG_MAX);
if (n_flush == PCT_IO(100)) {
skip_sleep = TRUE; skip_sleep = TRUE;
} }
} }
}
if (srv_activity_count == old_activity_count) { if (srv_activity_count == old_activity_count) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment