Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
bdc6895d
Commit
bdc6895d
authored
Oct 17, 2012
by
Yasufumi Kinoshita
Browse files
Options
Browse Files
Download
Plain Diff
Bug #13702112 : WAIT_FOR_READ IS STUCK IN THE 90S
rb://1334
approved by: Inaam Rana
parents
b4a77561
39e6eafc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
storage/innobase/buf/buf0buf.c
storage/innobase/buf/buf0buf.c
+4
-3
No files found.
storage/innobase/buf/buf0buf.c
View file @
bdc6895d
...
...
@@ -242,7 +242,7 @@ the read requests for the whole area.
#ifndef UNIV_HOTBACKUP
/** Value in microseconds */
static
const
int
WAIT_FOR_READ
=
50
00
;
static
const
int
WAIT_FOR_READ
=
1
00
;
/** Number of attemtps made to read in a page in the buffer pool */
static
const
ulint
BUF_PAGE_READ_MAX_RETRIES
=
100
;
...
...
@@ -2582,8 +2582,9 @@ buf_page_get_gen(
mutex_exit
(
&
block
->
mutex
);
if
(
io_fix
==
BUF_IO_READ
)
{
os_thread_sleep
(
WAIT_FOR_READ
);
/* wait by temporaly s-latch */
rw_lock_s_lock
(
&
(
block
->
lock
));
rw_lock_s_unlock
(
&
(
block
->
lock
));
}
else
{
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment