Transaction safety default is off in binlog router
Transaction safety default is off in binlog router
This commit is contained in:
parent
d054cb1595
commit
7119ed817d
@ -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.
|
||||
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.
|
||||
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.
|
||||
```
|
||||
|
@ -284,7 +284,7 @@ char task_name[BLRM_TASK_NAME_LEN+1] = "";
|
||||
inst->m_errno = 0;
|
||||
inst->m_errmsg = NULL;
|
||||
|
||||
inst->trx_safe = 1;
|
||||
inst->trx_safe = 0;
|
||||
inst->pending_transaction = 0;
|
||||
inst->last_safe_pos = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user