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
653ef223
Commit
653ef223
authored
Mar 06, 2014
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV#5687: Maria doesn't shutdown following upgrade
to 5.5.35-galera Restored patch for MDEV#4136 and added a test.
parent
689aaab0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
3 deletions
+21
-3
mysql-test/suite/wsrep/r/pool_of_threads.result
mysql-test/suite/wsrep/r/pool_of_threads.result
+8
-0
mysql-test/suite/wsrep/t/pool_of_threads.opt
mysql-test/suite/wsrep/t/pool_of_threads.opt
+1
-0
mysql-test/suite/wsrep/t/pool_of_threads.test
mysql-test/suite/wsrep/t/pool_of_threads.test
+11
-0
sql/mysqld.cc
sql/mysqld.cc
+1
-3
No files found.
mysql-test/suite/wsrep/r/pool_of_threads.result
0 → 100644
View file @
653ef223
#
# MDEV#5687: Maria doesn't shutdown following upgrade to 5.5.35-galera
#
SELECT @@GLOBAL.thread_handling;
@@GLOBAL.thread_handling
pool-of-threads
# End of test.
mysql-test/suite/wsrep/t/pool_of_threads.opt
0 → 100644
View file @
653ef223
--binlog-format=row --innodb_autoinc_lock_mode=2 --innodb_locks_unsafe_for_binlog=1 --wsrep-provider=/usr/lib/galera/libgalera_smm.so --wsrep-cluster-address=gcomm:// --thread_handling=pool-of-threads
mysql-test/suite/wsrep/t/pool_of_threads.test
0 → 100644
View file @
653ef223
--
source
include
/
have_wsrep
.
inc
--
echo
--
echo
#
--
echo
# MDEV#5687: Maria doesn't shutdown following upgrade to 5.5.35-galera
--
echo
#
# Note: This test is to ensure that server shuts down properly.
SELECT
@@
GLOBAL
.
thread_handling
;
--
echo
# End of test.
sql/mysqld.cc
View file @
653ef223
...
...
@@ -4912,7 +4912,7 @@ pthread_handler_t start_wsrep_THD(void *arg)
// at server shutdown
}
#if 0
my_thread_end
();
if
(
thread_handling
>
SCHEDULER_ONE_THREAD_PER_CONNECTION
)
{
mysql_mutex_lock
(
&
LOCK_thread_count
);
...
...
@@ -4920,8 +4920,6 @@ pthread_handler_t start_wsrep_THD(void *arg)
thread_count
--
;
mysql_mutex_unlock
(
&
LOCK_thread_count
);
}
#endif
my_thread_end
();
return
(
NULL
);
}
...
...
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