3d8adefa73
Removed useless spaces
...
Removed useless spaces
2015-12-01 16:21:53 +01:00
a53213093a
Addition of slave transition to catchup mode in logging
...
Addition of slave transition to catchup mode in logging
2015-12-01 16:16:14 +01:00
6367ac7148
Changed log level for up to date transition
...
Changed log level for up to date transition
2015-11-30 19:23:36 +01:00
592e4d06cb
Changed name for bad fd
...
Changed name for bad fd
2015-11-30 10:22:47 +01:00
ba135c5548
Log messages fix with slave ip:port and id
...
Log messages fix with slave ip:port and id
2015-11-30 10:22:12 +01:00
e38334c457
Fix locking issue in blr_close_binlog
...
In blr_open_binlog the refcnt increase of file which is already
open is protected by router->fileslock. In blr_close_binlog the
decrease of the refcnt was protected by file->lock.
This lead to a situation where it was possible that a file was
closed and the file instance freed, even though it just had been
taken into use by somebody else.
This is now fixed by solely using the router->fileslock for protecting
the increase and decrease of the refcnt.
2015-11-26 10:34:34 +02:00
c167499c7b
Add notice about previous failure to unlock.
...
In blr_slave.c under certain conditions, two locks were not released.
That was fixed in another change, and with this change a notice will be
logged if that branch is entered. That way it will be possible to find
out whether this may have been the cause of earlier lock-ups.
2015-11-23 09:51:59 +02:00
99fdf9cdec
Fixed reference to LOGIF macro
...
Fixed reference to LOGIF macro
2015-11-19 17:54:23 +01:00
023d4bc588
Develop merge
...
Develop merge
2015-11-19 17:06:30 +01:00
6164b7f301
Fixed unsafe use of localtime
...
Since localtime is not thread-safe it should not be used in multithreaded
contexts. For this reason all calls to localtime were changed to localtime_r
in code where concurrency issues were possible.
Internal tests were left unchanged because they aren't multithreaded.
2015-11-19 17:17:16 +02:00
84d2c72db2
Formatted mqfilter
...
Mqfilter formatted according to the style guide.
2015-11-19 12:16:47 +02:00
90d2dc336c
Missing lock release added
...
Missing lock release added and log message update
2015-11-19 08:58:49 +01:00
ee7793312b
Broken error message fixed in readwritesplit.c
...
When converting the skygw_ logging calls to MXS_ equivalents,
some part of the error message got lost.
2015-11-18 20:51:11 +02:00
cbeead7c43
Formatted namedserverfilter
...
Namedserverfilter formatted according to the style guide.
2015-11-18 14:44:05 +02:00
036fd6f16c
Formatted qlafilter
...
Qlafilter formatted according to the style guide.
2015-11-18 14:31:02 +02:00
a7c0952e66
Formatted tee filter
...
Tee filter formatted according to the style guide.
2015-11-18 14:18:00 +02:00
e24504c427
Formatted topfilter
...
Topfilter is now formatted according to the style guide.
2015-11-18 13:46:23 +02:00
7d9324ee12
Formatted regexfilter
...
Formatted regexfilter according to the style guide and removed trailing whitespace.
2015-11-18 13:35:04 +02:00
3f8739ebfd
LOGIFs removed from binlog test.
2015-11-18 13:23:16 +02:00
afdeb6fa5b
binlogrouter: All LOGIFs and skygw_log_writes replaced.
...
All LOGIFs and skygw_log_writes replaced with the equivalent
MXS_[ERROR|WARNING|NOTICE|INFO|DEBUG] macros.
2015-11-18 12:35:21 +02:00
d59c6a3570
readwritesplit: skygw_log_writes replaced.
2015-11-18 12:28:40 +02:00
da74bb7c3f
Formatted dbfwfilter according to the style guide
...
Fixed indentation, bracket alignment and other minor things.
2015-11-18 10:12:04 +02:00
86db0f8754
Fixed event names being truncated
...
A buffer was allocated for strlen(event) characters leading to the
name always being truncated by one character. The use of a buffer was
unnecessary and was fixed by using the mon_get_event_name function directly.
2015-11-18 04:35:03 +02:00
d111fe26cc
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-11-17 14:19:54 +01:00
0413c957f8
LOGIFs removed from schemarouters.
2015-11-17 14:18:51 +02:00
1b21cd8609
Fixed extra )) in mmmon.
2015-11-17 14:09:44 +02:00
df7b4829d4
server/modules/monitor LOGIFs and skygw_write_logs removed.
...
All LOGIFs and skygw_log_writes replaced with MXS_[ERROR|
WARNING|NOTICE|INFO|DEBUG] macros.
2015-11-17 13:09:21 +02:00
1de202ca20
LOGIF removed from readwritesplit
2015-11-17 12:51:08 +02:00
1b8719ffed
LOGIF removed from maxinfo.
2015-11-17 12:50:15 +02:00
fb443a9f92
LOGIF removed from readconnroute.c
2015-11-17 12:48:47 +02:00
f06eec13f6
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-11-17 09:50:25 +01:00
82dc3ff3c5
Update lastReply with heartbeat event
...
Update lastReply when heartbeat event is seen and a transaction is
still open
2015-11-17 09:47:21 +01:00
9c7118eb9a
GaleraHACRoute.c removed.
2015-11-17 09:52:27 +02:00
ac358af7a6
LOGIF and skygw_log_write removed from cli.c and debugcli.c
2015-11-17 09:21:47 +02:00
453055a6c0
server/modules/protocol: All LOGIFs and skygw_log_writes replaced.
...
LOGIFs and skygw_log_writes replaced with the equivalent
MXS_[ERROR|WARNING|NOTICE|INFO|DEBUG] macros.
2015-11-17 09:21:47 +02:00
6641c42ef9
Added sync logs command to maxadmin
...
Added maxadmin command to flush all logs to disk. This will allow tests
to gather all logs without having to wait for the logs to be flushed by
the log flusher thread.
2015-11-17 09:17:59 +02:00
b828b04c05
Fixed debug assertion.
2015-11-17 09:17:29 +02:00
5d4fe65b19
Fixed some misaligned brackets.
2015-11-16 21:00:22 +02:00
6846b0b6b6
Mmmon formatting changes
...
Fixed indentation, bracket alignment and other minor things.
2015-11-16 20:56:39 +02:00
797d9dc03d
Ndbclustermon formatting changes
...
Fixed indentation, bracket alignment and other minor things.
2015-11-16 20:56:39 +02:00
a90b336cc4
blr_master_reconnect instead of blr_start_master
...
blr_master_reconnect instead of blr_start_master in
blr_stop_start_master
2015-11-16 15:55:08 +01:00
1bfe85099f
server/module/filters: All LOGIF and skygw_log_write calls removed.
...
All LOGIF and skygw_log_write calls have been replaced with the
equivalent MXS_[ERROR|WARNING|NOTICE|INFO|DEBUG] calls.
2015-11-16 14:25:02 +02:00
a7e2bf09c8
Cleaned up monitor headers
...
Formatted all monitor headers according to the coding style.
2015-11-16 14:00:22 +02:00
65e2b50f96
Removed client hangup error message
...
The error message did not provide any useful information and was most of the
time a false positive due to EPOLL_RDHUP events calling the hangup function
of the DCB.
2015-11-16 13:59:47 +02:00
b22d40b06b
Fixed PCRE2 beng built when CMake is configured
...
The bundled PCRE2 library will be built as a separate target and configuring
CMake no longer builds it. Instead, it will only be built when it is out of date.
This requires all targets to declare that they depend on the pcre2 target in
order for it to be built.
2015-11-16 13:59:47 +02:00
f9c99761d6
Monitor_common formatting changes
...
Cleaned up monitor_common.c and monitor_common.h
2015-11-16 13:59:47 +02:00
6dea82631d
Galeramon formatting changes
...
Fixed indentation, bracket alignment and other minor things.
2015-11-16 13:59:47 +02:00
f3a4bedbf5
Mysqlmon formatting changes
...
Fixed indentation, bracket alignment and other minor things.
2015-11-16 13:59:47 +02:00
a355e1beef
Printf format checking added to logging function.
...
Printf format checking added to logging function and all
issues that were revealed by that fixed.
2015-11-16 12:40:49 +02:00
1f15843d61
Refactored schemarouter to use the resultset.h data types and functions
...
The generated responses to SHOW DATABASES are now generated by using the resultset.h
data types and functions.
2015-11-16 08:39:49 +02:00