counterpoint
|
3dd20cb9ec
|
Acquire user for DCB from DCB session sooner, needed for persistent connection handling.
|
2015-08-25 09:53:01 +01:00 |
|
counterpoint
|
980b56e7fa
|
Fix stupid extra }
|
2015-08-25 09:33:40 +01:00 |
|
counterpoint
|
d27ffcf06a
|
Fix mistake in debug STRDCBSTATE()
|
2015-08-25 09:31:54 +01:00 |
|
counterpoint
|
f18f233de2
|
Try to resolve unexpected compiler errors
|
2015-08-25 09:23:24 +01:00 |
|
counterpoint
|
12922225b8
|
Remove redundant DCB state DCB_STATE_FREED, remove obsolete assertion from poll.c, tidy up.
|
2015-08-25 09:11:44 +01:00 |
|
counterpoint
|
ae669c6f88
|
Fix mistake
|
2015-08-24 16:29:41 +01:00 |
|
counterpoint
|
65c42e2d80
|
Move removal of closing DCB from poll list to the kill zombies processing, rather than immediately on close; modify persistent connections to obtain candidates for the pool from the kill zombies processing to be sure that they really are finished all previous processing.
|
2015-08-24 16:19:25 +01:00 |
|
Markus Makela
|
7410b3dfbd
|
Cleaned up code.
|
2015-08-21 18:13:45 +03:00 |
|
Markus Makela
|
4e5968ee15
|
Reverted changed which add a return value to dcb_log_write_failure
|
2015-08-18 13:12:59 +03:00 |
|
counterpoint
|
6a92a419ff
|
Remove function declaration - moved to header. Implement spin_reporter in server.c, required for correct compilation when SPINLOCK_PROFILE is defined true.
|
2015-07-27 09:01:20 +01:00 |
|
Markus Makela
|
7363343499
|
Fixed dcb_write failing when the cause was EAGAIN or EWOULDBLOCK.
|
2015-07-22 15:34:51 +03:00 |
|
counterpoint
|
78e046c9f8
|
Fix typo; fix double count decrement.
|
2015-07-21 11:00:47 +01:00 |
|
counterpoint
|
c33f1199d9
|
Fix lack of declaration for session_unlink_dcb; restructure dcb closedown logic to fix counting problem and reduce code.
|
2015-07-21 09:54:01 +01:00 |
|
Markus Makela
|
3c999cef8d
|
Added missing subtraction of current number of connections.
|
2015-07-20 16:39:37 +03:00 |
|
Markus Makela
|
a53c91c587
|
Fixed compiler warnings.
|
2015-07-20 16:29:36 +03:00 |
|
counterpoint
|
89524b1427
|
Further tidying in dcb_write
|
2015-07-20 14:19:00 +01:00 |
|
Martin Brampton
|
bb1f26eda5
|
Fixes for maintainability of dcb.c; error in persistent connections.
|
2015-07-19 16:48:24 +01:00 |
|
counterpoint
|
4a0925f33d
|
Correct mistake in dcb_read; use larger integer to accomodate three byte length in modutil.
|
2015-07-19 09:10:48 +01:00 |
|
Markus Makela
|
a85262171f
|
Added missing assignment of the write buffer to write queue when a write fails in dcb_write.
|
2015-07-16 21:47:42 +03:00 |
|
counterpoint
|
d4bc710d3e
|
Fix mistake in dcb_close.
|
2015-07-15 15:15:28 +01:00 |
|
Markus Makela
|
3992f262ca
|
Fixed Coverity defects
|
2015-07-14 16:17:50 +03:00 |
|
counterpoint
|
00b4d8edf5
|
Tidy up indentation, add folds around logging, in dcb_read.
|
2015-07-13 09:56:29 +01:00 |
|
Markus Makela
|
a9d30b07b3
|
Fixed MXS-258: https://mariadb.atlassian.net/browse/MXS-258
|
2015-07-12 22:34:28 +03:00 |
|
Markus Makela
|
206f93e3ec
|
Fixed missing return values.
|
2015-07-11 19:02:01 +03:00 |
|
counterpoint
|
ce0d9684d4
|
A few more clarifications, I hope.
|
2015-07-10 17:00:48 +01:00 |
|
counterpoint
|
4f5de063eb
|
Merged dcb_read and dcb_read_n into a single function (dcb_read with an extra parameter).
|
2015-07-10 15:12:22 +01:00 |
|
counterpoint
|
015cb890d4
|
Reduce complexity.
|
2015-07-10 14:56:01 +01:00 |
|
counterpoint
|
8376bbf3e6
|
Fix mismatch of int sizes; move calculation of maximum size of persistent pool to a better location.
|
2015-07-09 08:37:20 +01:00 |
|
counterpoint
|
bccf3d27d6
|
Correct name of function in debug message.
|
2015-07-08 16:22:09 +01:00 |
|
counterpoint
|
700576ac32
|
Add the DCB address to the "Not adding DCB to persistent pool" debug message.
|
2015-07-08 16:15:19 +01:00 |
|
counterpoint
|
ce879b65c2
|
Fix wrong debug message; add maxadmin info for actual max size of persistent pool.
|
2015-07-08 16:03:50 +01:00 |
|
counterpoint
|
ba417ef633
|
Merge remote-tracking branch 'origin/develop' into MXS-122
Conflicts:
server/core/dcb.c
|
2015-07-08 14:54:22 +01:00 |
|
counterpoint
|
4cea1b68c0
|
Simplify logic in processing of zombies list, to bring more into line with develop branch and reduce conflicts when merged.
|
2015-07-08 09:26:21 +01:00 |
|
counterpoint
|
4c8aa02c31
|
Finalise comments; change abort from assert(false) to raise(SIGABRT).
|
2015-07-07 16:57:13 +01:00 |
|
counterpoint
|
be789855ee
|
Add lines to revision history.
|
2015-07-07 16:57:12 +01:00 |
|
counterpoint
|
462c8e42ef
|
Fix more subtle bug and expand debug message for dcb_close entry.
|
2015-07-07 16:57:12 +01:00 |
|
counterpoint
|
d4eff72d8a
|
Fix stupid bug.
|
2015-07-07 16:57:12 +01:00 |
|
counterpoint
|
5577ef94e9
|
Wrap spinlock around more logic; simplify process zombies list logic.
|
2015-07-07 16:57:12 +01:00 |
|
counterpoint
|
9ee8d11808
|
Allow for DCB becoming a zombie during processing.
|
2015-07-07 16:57:12 +01:00 |
|
counterpoint
|
96619e2f8f
|
Allow zombies to be submitted to dcb_close - but why does this happen?
|
2015-07-07 16:57:12 +01:00 |
|
counterpoint
|
fffd8fb73a
|
Unify DCB close processing to single function dcb_close. Remove dcb_add_to_zombieslist (incorporating logic into dcb_close). Alter logic so that DCB that is just allocated will still go to zombie list if dcb->fd is not closed.
|
2015-07-07 16:57:12 +01:00 |
|
counterpoint
|
18a95eeb71
|
Simplify adding and removing DCBs from polling, improve error handling. Remove dcb_set_state functions as not adding value.
|
2015-07-07 16:57:12 +01:00 |
|
counterpoint
|
a72f462e2d
|
Fixes for MXS-196 and other related problems.
|
2015-07-07 16:57:12 +01:00 |
|
Markus Makela
|
e5d9abbdcb
|
Fixes to Coverity defects.
|
2015-06-25 06:01:33 +03:00 |
|
counterpoint
|
ced5c67338
|
Tidy the lining up of a message; add documentation.
|
2015-06-24 14:39:13 +01:00 |
|
Markus Makela
|
80d130ef0c
|
Fixed dcb_write_SSL being called multiple times on failure.
|
2015-06-24 15:05:04 +03:00 |
|
Markus Makela
|
484781a463
|
More error logging for SSL connections.
|
2015-06-24 14:46:46 +03:00 |
|
Markus Makela
|
067a62b240
|
Added more error logging to dcb_write_SSL.
|
2015-06-24 14:34:46 +03:00 |
|
Markus Makela
|
0f199d924f
|
Removed unnecessary call to SSL_get_error from dcb_accept_SSL.
|
2015-06-24 12:56:22 +03:00 |
|
counterpoint
|
dfbb42ead9
|
Fix missing newlines on persistent start time; fix typos.
|
2015-06-23 15:45:10 +01:00 |
|