MassimilianoPinto
05fb07f996
Removed extra brace
...
Removed extra brace
2015-12-28 18:00:55 +01:00
MassimilianoPinto
4f8340f5b2
Changed behaviour for a slave requesting master_log_pos beyond binlog file size
...
Slave request for a log_pos behind binlog file size may result in a
disconnection or replication error:
if binlog file is latest one slave get disconnected otherwise an error
message is returned and replication stops
2015-12-28 18:00:52 +01:00
MassimilianoPinto
dcf81db395
Merge branch '1.2.1-binlog_router_trx' into develop
2015-11-30 09:40:04 +01:00
MassimilianoPinto
14d11fa4c0
Changed name for bad fd
...
Changed name for bad fd
2015-11-27 09:43:58 +01:00
MassimilianoPinto
5a64fc70dc
Log messages fix with slave ip:port and id
...
Log messages fix with slave ip:port and id
2015-11-27 09:16:17 +01:00
Johan Wikman
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
Markus Makela
038877b8db
Fixed minor format errors and resource leaks
...
Some format strings used integer values for unsigned integers.
Memory and file descriptors leaked in some error conditions.
2015-11-25 12:43:49 +02:00
MassimilianoPinto
99fdf9cdec
Fixed reference to LOGIF macro
...
Fixed reference to LOGIF macro
2015-11-19 17:54:23 +01:00
MassimilianoPinto
023d4bc588
Develop merge
...
Develop merge
2015-11-19 17:06:30 +01:00
Johan Wikman
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
MassimilianoPinto
f06eec13f6
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-11-17 09:50:25 +01:00
Johan Wikman
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
MassimilianoPinto
5e71ff093f
Log message updates
...
Log message updates
2015-11-06 18:28:41 +01:00
MassimilianoPinto
00c506b029
Fix for rotate and catchup with transaction_safety = 1
...
Fix for rotate and catchup with transaction_safety = 1
2015-11-06 18:14:52 +01:00
MassimilianoPinto
e8c1c82265
Removed failed fstat message
...
Removed failed fstat message
2015-11-04 17:54:41 +01:00
MassimilianoPinto
c37b33c60e
Merge branch '1.2.1-binlog_router_trx' into develop
2015-11-04 16:42:30 +01:00
MassimilianoPinto
685e674009
Log message update
...
Log message update
2015-11-04 16:41:27 +01:00
MassimilianoPinto
d51ac7ab7d
Disconnect slave when pos is UNSAFE
...
Disconnect slave when pos is UNSAFE instead of sending an error that
stops the replication
2015-11-04 16:24:46 +01:00
Johan Wikman
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
Johan Wikman
2594c83117
Missing format specified added.
2015-11-03 14:21:20 +02:00
MassimilianoPinto
99720ffa9f
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-10-28 10:15:52 +01:00
MassimilianoPinto
3c30827f16
Report blr_print_binlog_details only if pos > 4
...
Report blr_print_binlog_details only if pos > 4
2015-10-28 10:15:05 +01:00
MassimilianoPinto
d7d009f3b3
Merge from develop
...
Merge from develop
2015-10-28 09:38:31 +01:00
MassimilianoPinto
a718c995ae
Added blr_print_binlog_details
...
Added blr_print_binlog_details
2015-10-27 17:33:15 +01:00
MassimilianoPinto
8208f3a728
strerror_r update
...
strerror_r update
2015-10-23 18:44:39 +02:00
Markus Makela
3be5238bd7
Fixed indentation.
2015-10-23 15:05:51 +03:00
Markus Makela
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
Markus Makela
40ffe21dd8
Added a variable for current event being processed after a transaction is committed.
2015-10-23 12:33:51 +03:00
Markus Makela
9b65e0b8b6
Fixed compiler warnings.
2015-10-14 10:58:32 +03:00
MassimilianoPinto
78252fcb78
Message logs changed for slave request errors
...
Log messages changed for slave request errors
2015-10-02 18:30:19 +02:00
MassimilianoPinto
1e76de540f
Added blr_distribute_error_message when distributing transaction events
...
Added blr_distribute_error_message when distributing transaction events
2015-10-02 09:46:52 +02:00
MassimilianoPinto
d31e081e45
Changed log messages for blr_read_binlog, added slave send error feaure
...
Changed log messages for blr_read_binlog, added slave send error feaure.
When blr_read_binlog detects an error an error message with 1236 code
is sent to the slave and it will stop the replication to binlogrouter
2015-10-01 17:03:48 +02:00
MassimilianoPinto
21509616e9
Fix routine argument type
...
Fix routine argument type
2015-09-30 14:47:48 +02:00
MassimilianoPinto
b6df52a68e
Addition of slave heartbeat check
...
Addition of slave heartbeat check
2015-09-25 15:58:36 +02:00
MassimilianoPinto
2c12ba3d16
Various fixes
...
Various fixes for initialisation and packet size allocation
2015-09-21 09:00:20 +02:00
MassimilianoPinto
2ce6012506
Various fixes
...
Various fixes for initialisation and packet size allocation
2015-09-21 08:44:33 +02:00
MassimilianoPinto
511e0fe119
Merge Fix from develop
...
Merge Fix from develop
2015-09-18 16:10:41 +02:00
MassimilianoPinto
8d5ca11374
Fixed: spinlock_release is before free
...
Fixed: spinlock_release is before free
2015-09-18 16:05:22 +02:00
MassimilianoPinto
374056cecc
Valgrind fixes
...
Valgrind fixes
2015-09-15 16:18:10 +02:00
MassimilianoPinto
c2c27d7cca
Merge from develop
...
Merge from develop
2015-09-14 09:49:33 +02:00
MassimilianoPinto
955974d06b
Removed unused XID var
...
Removed unused XID var
2015-09-14 09:43:13 +02:00
Markus Makela
bb72b0c892
Fixed compiler warnings.
2015-09-12 04:46:47 +03:00
MassimilianoPinto
520198b870
Removed previous conflict line
...
Removed previous conflict line
2015-09-10 15:06:46 +02:00
MassimilianoPinto
c9fd82839b
Merge from develop
...
Merge from develop
2015-09-10 14:53:50 +02:00
MassimilianoPinto
7d00a3670d
Addition of maxbinlogcheck, a new utility in bin
...
Addition of maxbinlogcheck, a new utility in bin
2015-09-10 14:37:49 +02:00
MassimilianoPinto
9815fef590
Moved some routines at the end of the file
...
Moved some routines at the end of the file
2015-09-10 12:03:49 +02:00
MassimilianoPinto
0ddabccd2f
Documentation update
...
Documentation update
2015-09-09 15:35:24 +02:00
MassimilianoPinto
9bfefa95ae
maxbinlogcheck update
...
maxbinlogcheck update
2015-09-08 17:27:28 +02:00
MassimilianoPinto
d6be8361fa
Added Transaction Summary with events and bytes
...
Added Transaction Summary with events and bytes
2015-09-07 18:17:03 +02:00
MassimilianoPinto
f60254f626
Added MariaDB 10 transaction detection
...
Added MariaDB 10 transaction detection
2015-08-26 17:32:45 +02:00