Transaction safety default is off in binlog router
Transaction safety default is off in binlog router
This commit is contained in:
@ -117,7 +117,7 @@ This parameter is used to define the maximum amount of data that will be sent to
|
|||||||
This parameter is used to enable/disable incomplete transactions detection in binlog router.
|
This parameter is used to enable/disable incomplete transactions detection in binlog router.
|
||||||
When MaxScale starts an error message may appear if current binlog file is corrupted or an incomplete transaction is found.
|
When MaxScale starts an error message may appear if current binlog file is corrupted or an incomplete transaction is found.
|
||||||
During normal operations binlog events are not distributed to the slaves until a COMMIT is seen.
|
During normal operations binlog events are not distributed to the slaves until a COMMIT is seen.
|
||||||
The default value is on, set transaction_safety=off to completly disable the incomplete transactions detection.
|
The default value is off, set transaction_safety=on to enable the incomplete transactions detection.
|
||||||
|
|
||||||
A complete example of a service entry for a binlog router service would be as follows.
|
A complete example of a service entry for a binlog router service would be as follows.
|
||||||
```
|
```
|
||||||
|
@ -284,7 +284,7 @@ char task_name[BLRM_TASK_NAME_LEN+1] = "";
|
|||||||
inst->m_errno = 0;
|
inst->m_errno = 0;
|
||||||
inst->m_errmsg = NULL;
|
inst->m_errmsg = NULL;
|
||||||
|
|
||||||
inst->trx_safe = 1;
|
inst->trx_safe = 0;
|
||||||
inst->pending_transaction = 0;
|
inst->pending_transaction = 0;
|
||||||
inst->last_safe_pos = 0;
|
inst->last_safe_pos = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user