Transaction safety default is off in binlog router

Transaction safety default is off in binlog router
This commit is contained in:
MassimilianoPinto 2015-12-02 11:18:12 +01:00
parent d054cb1595
commit 7119ed817d
2 changed files with 2 additions and 2 deletions

View File

@ -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.
```

View File

@ -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;