adaptive flushing does a dirty scan of the flush list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Triaged
|
High
|
Unassigned | ||
5.5 |
Triaged
|
High
|
Unassigned |
Bug Description
The adaptive flushing code scans the flush list without acquiring the flush list mutex. Which is unsafe and may result in crashes. Backtrace which is likely a result of this:
Thread 1 (Thread 0x4fabf940 (LWP 11815)):
#0 0x00002b6af8db3d02 in pthread_kill () from /lib64/
No symbol table info available.
#1 0x00000000006839ae in handle_fatal_signal (sig=11) at /usr/src/
curr_time = <value optimized out>
thrs = <value optimized out>
mins = <value optimized out>
hrs_buf = "22"
hrs = <value optimized out>
mins_buf = "56"
secs_buf = "06"
tmins = <value optimized out>
secs = <value optimized out>
thd = 0x0
#2 <signal handler called>
No symbol table info available.
#3 srv_master_thread (arg=<value optimized out>) at /usr/src/
buf_pool = 0x0
n_blocks = <value optimized out>
lsn = 9603942490514
bpage = 0x98
level = <value optimized out>
bpl = <value optimized out>
j = <value optimized out>
cur_time = 1351637765661
buf_stat = {n_page_gets = 404558629170, n_pages_read = 51791593, n_pages_written = 571199613, n_pages_created = 10282915, n_ra_pages_read_rnd = 0, n_ra_pages_read = 451058,
slot = 0x8bc1794a192
n_ios = <value optimized out>
n_ios_old = <value optimized out>
n_pend_ios = <value optimized out>
inner_loop = 0
i = <value optimized out>
lsn_old = 9603942232306
oldest_lsn = 9603252154283
#4 0x00002b6af8dae73d in start_thread () from /lib64/
No symbol table info available.
#5 0x00002b6af9b624bd in clone () from /lib64/libc.so.6
No symbol table info available.
tags: | added: i27369 |
Likely a duplicate of https:/ /bugs.launchpad .net/percona- server/ +bug/1083058