bf24f18805
Merge branch 'develop' into MXS-544
2016-02-29 10:40:33 +02:00
395cbdc103
Simplify handling of "client data" by having a pointer to it only in DCB and not in session structure. Change name of session->client to session->client_dcb for greater clarity. Temporary free of client data in DCB, to be moved to authenticator when it becomes a module. Fix incorrect name of listener_alloc.
2016-02-23 11:13:21 +00:00
28bd7c2202
Merge branch '1.2.1-binlog_router_trx' into develop
2016-02-19 18:51:59 +02:00
ae33df3cbc
Large events are now processed in chuncks
...
The router->last_written is used to store the position where the last event was
written. The replication header is also stored in a separate structure in
the router which is used later when the last packet of a multi-packet event
arrives.
2016-02-16 13:06:24 +02:00
e9755ba2b6
Remove file from slave
...
The binlog file is now always opened when it is needed and closed
when we are finished with it. That will remove any potential
file concurrency issues between different threads dealing with
the same slave.
2015-12-29 09:47:37 +02:00
40cfacfec4
Remove file from slave
...
The binlog file is now always opened when it is needed and closed
when we are finished with it. That will remove any potential
file concurrency issues between different threads dealing with
the same slave.
2015-12-11 17:25:27 +01:00
9a3aae64ce
Replaced explicit closeSession calls with dcb_close
...
The closeSession entry point shouldn't be called directly and dcb_close
should be used instead.
2015-12-10 15:50:20 +02:00
c8a9eafdc0
Replaced explicit closeSession calls with dcb_close
...
The closeSession entry point shouldn't be called directly and dcb_close
should be used instead.
2015-12-10 14:49:40 +01:00
1deea7f929
Remove unnecessary comparison.
...
It makes no sense to compare an unsigned integer for non-negativeness;
it won't ever be. router_instance.lastEventReceived is uint8_t.
On centos5 this causes a warning that thus ends the compilation.
2015-12-08 13:28:11 +02:00
7119ed817d
Transaction safety default is off in binlog router
...
Transaction safety default is off in binlog router
2015-12-02 11:18:12 +01:00
dd922a1ff9
Added check for missing service listener
...
Added check for missing service listener
2015-11-26 17:00:30 +01: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
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
f06eec13f6
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-11-17 09:50:25 +01: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
6b88b6b17f
Merge branch 'develop' into MXS-329-develop-20151111
2015-11-13 07:48:59 +02:00
30d1fc66b7
getCapabilities no longer takes arguments and returns an int.
2015-11-11 18:14:03 +02:00
264944ff23
Service users are set to NULL after they are freed.
2015-11-11 18:02:01 +02:00
8395bad394
Added slave remote port in log messages
...
Added slave remote port in log messages
2015-11-11 12:19:58 +01:00
dee20fe077
Merge remote-tracking branch 'origin/develop' into MXS-329-develop-20151111
...
# Conflicts:
# server/core/CMakeLists.txt
# server/core/buffer.c
# server/core/service.c
# server/modules/filter/tee.c
# server/modules/monitor/mysql_mon.c
# server/modules/routing/binlog/blr.c
# server/modules/routing/binlog/blr_slave.c
# server/modules/routing/debugcmd.c
# server/modules/routing/readwritesplit/readwritesplit.c
# utils/skygw_utils.cc
- resolved.
2015-11-11 11:08:02 +00:00
5e71ff093f
Log message updates
...
Log message updates
2015-11-06 18:28:41 +01:00
834a88aeda
Log variables moved to log_manager.h
...
The log manager variables lm_enabled_log_files_bitmask, log_ses_count
and tls_log_info that earlier were declared separately in every
c-file are now declared in the log_manager.h header.
2015-11-04 14:26:53 +02:00
d7d009f3b3
Merge from develop
...
Merge from develop
2015-10-28 09:38:31 +01:00
a718c995ae
Added blr_print_binlog_details
...
Added blr_print_binlog_details
2015-10-27 17:33:15 +01:00
bad61b0740
Change binlog router to indicate it does not use router sessions via the getCapabilities interface.
2015-10-27 14:17:06 +00:00
8208f3a728
strerror_r update
...
strerror_r update
2015-10-23 18:44:39 +02:00
4b923ce4bc
Merge branch '1.2.1-binlog_router_trx' of https://github.com/mariadb-corporation/MaxScale into 1.2.1-binlog_router_trx
2015-10-23 16:44:21 +03:00
3be5238bd7
Fixed indentation.
2015-10-23 15:05:51 +03:00
63f4bc3aec
Changed from router->binlog_lock to router->lock for transaction safety code and cleaned up code.
2015-10-23 14:54:08 +03:00
1dc48f5ed8
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-10-23 13:18:11 +02:00
40ffe21dd8
Added a variable for current event being processed after a transaction is committed.
2015-10-23 12:33:51 +03:00
add1927781
Reformatted to make line-length < 110.
2015-10-21 09:46:52 +03:00
eeefd73623
Changed sprintf format to use %02hhx instead of %02x.
2015-10-20 16:20:54 +03:00
9b65e0b8b6
Fixed compiler warnings.
2015-10-14 10:58:32 +03:00
62477c5760
Changed log message for trx_safe set to ON
...
Changed log message for trx_safe set to ON
2015-10-02 19:14:47 +02:00
78252fcb78
Message logs changed for slave request errors
...
Log messages changed for slave request errors
2015-10-02 18:30:19 +02:00
e043d204b4
blr_send_custom_error with errno and state
...
blr_send_custom_error with errno and state
2015-09-30 15:59:48 +02:00
680589ed46
Slave heartbeat period is reported in diagnostics
...
Slave heartbeat period is reported in diagnostics only if router option
is set
2015-09-30 15:21:18 +02:00
f9ee9ca028
Addition of send_slave_heartbeat option
...
Addition of send_slave_heartbeat option
2015-09-30 14:39:26 +02:00
b6df52a68e
Addition of slave heartbeat check
...
Addition of slave heartbeat check
2015-09-25 15:58:36 +02:00
2dfb9e3c11
Merge branch 'develop' into MXS-329
2015-09-24 17:59:36 +03:00
f7946a05fa
Fix in extract_message
...
Fix in extract_message
2015-09-23 14:05:02 +02:00
ef15825efb
Fixes suggested by Valgrind tool
...
Fixes suggested by Valgrind tool
2015-09-23 11:46:00 +02:00
9829a8c2c2
Added: validating binlog file message
...
Added: validating binlog file message
2015-09-16 19:04:48 +02:00
6b05176684
Fixed errors reported by valgrind
...
Fixed errors reported by valgrind
2015-09-15 15:49:41 +02:00
abf5b6d02a
Addition of status variable output formatting
...
Addition of status variable output formatting and router options check
and check for mandatory server_id parameter
Logging of binlog router identy seen by master and slaves
2015-09-15 15:13:05 +02:00
cfeaf7d6e9
Merge remote-tracking branch 'origin/develop' into MXS-329
...
Conflicts:
server/core/session.c
2015-09-10 13:07:27 +01:00
f6916a23bd
Move responsibility for closing DCB on error to router error handling. Check that routers remove or disable links to closed DCB.
2015-09-09 09:33:00 +01:00
986c918d52
Remove ERRACT_RESET action from router error handler; remove sole call from mysql_client. Correct comments on parameters for router error handlers.
2015-09-09 08:31:59 +01:00