Thread id lost on srv/srv0start.cc

Bug #1407941 reported by Jan Lindström
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Low
Laurynas Biveinis
5.1
Won't Fix
Undecided
Unassigned
5.5
Fix Released
Low
Laurynas Biveinis
5.6
Fix Released
Low
Laurynas Biveinis

Bug Description

At storage/innobase/srv/srv0start.cc line 1534 there is thread create

  os_thread_create(&srv_redo_log_follow_thread, NULL,
     thread_ids + 5 + SRV_MAX_N_IO_THREADS);

however same array item is reused on

2730:

  os_thread_create(
   srv_purge_coordinator_thread,
   NULL, thread_ids + 5 + SRV_MAX_N_IO_THREADS);

Note that on Windows these (and several other threads) are not released with CloseHandle()

Related branches

Revision history for this message
Jan Lindström (jplindst) wrote :

Above correct at least 5.6.

Revision history for this message
Jan Lindström (jplindst) wrote :
Changed in percona-server:
assignee: nobody → Laurynas Biveinis (laurynas-biveinis)
tags: added: low-hanging-fruit xtradb
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2104

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.