Merge lp:~vkolesnikov/pbxt/pbxt-bug-509218 into lp:pbxt

Proposed by Vladimir Kolesnikov
Status: Merged
Merged at revision: not available
Proposed branch: lp:~vkolesnikov/pbxt/pbxt-bug-509218
Merge into: lp:pbxt
Diff against target: 45 lines (+12/-0)
3 files modified
ChangeLog (+2/-0)
src/thread_xt.cc (+8/-0)
src/trace_xt.h (+2/-0)
To merge this branch: bzr merge lp:~vkolesnikov/pbxt/pbxt-bug-509218
Reviewer Review Type Date Requested Status
PBXT Core Pending
Review via email: mp+17662@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog'
--- ChangeLog 2010-01-11 10:57:15 +0000
+++ ChangeLog 2010-01-19 16:02:14 +0000
@@ -1,6 +1,8 @@
1PBXT Release Notes1PBXT Release Notes
2==================2==================
33
4RN299: Fixed bug #509218: Server asserts with Assertion `mutex->__data.__owner == 0' failed on high concurrency OLTP test.
5
4------- 1.0.10d RC4 - 2010-01-116------- 1.0.10d RC4 - 2010-01-11
57
6RN298: Fixed a bug that caused huge amounts of transaction log to be written when pbxt_flush_log_at_trx_commit = 2.8RN298: Fixed a bug that caused huge amounts of transaction log to be written when pbxt_flush_log_at_trx_commit = 2.
79
=== modified file 'src/thread_xt.cc'
--- src/thread_xt.cc 2010-01-11 12:57:16 +0000
+++ src/thread_xt.cc 2010-01-19 16:02:14 +0000
@@ -1168,6 +1168,14 @@
1168 /* Align the number of threads: */1168 /* Align the number of threads: */
1169 xt_thr_maximum_threads = xt_align_size(max_threads, XT_XS_LOCK_ALIGN);1169 xt_thr_maximum_threads = xt_align_size(max_threads, XT_XS_LOCK_ALIGN);
11701170
1171#ifdef XT_TRACK_CONNECTIONS
1172 if (xt_thr_maximum_threads > XT_TRACK_MAX_CONNS) {
1173 xt_log_error(XT_NS_CONTEXT, XT_LOG_FATAL, XT_ERR_TOO_MANY_THREADS, 0,
1174 "XT_TRACK_CONNECTIONS is enabled and xt_thr_maximum_threads > XT_TRACK_MAX_CONNS");
1175 goto failed;
1176 }
1177#endif
1178
1171#ifdef HANDLE_SIGNALS1179#ifdef HANDLE_SIGNALS
1172 if (!thr_setup_signals())1180 if (!thr_setup_signals())
1173 return NULL;1181 return NULL;
11741182
=== modified file 'src/trace_xt.h'
--- src/trace_xt.h 2009-05-04 14:39:21 +0000
+++ src/trace_xt.h 2010-01-19 16:02:14 +0000
@@ -51,7 +51,9 @@
51 * CONNECTION TRACKING51 * CONNECTION TRACKING
52 */52 */
5353
54#ifdef DEBUG
54#define XT_TRACK_CONNECTIONS55#define XT_TRACK_CONNECTIONS
56#endif
5557
56#ifdef XT_TRACK_CONNECTIONS58#ifdef XT_TRACK_CONNECTIONS
57#define XT_TRACK_MAX_CONNS 50059#define XT_TRACK_MAX_CONNS 500

Subscribers

People subscribed via source and target branches