Details
-
New Feature
-
Status: Stalled (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
The default variable for sync_binlog is 0 for MariaDB, where Oracle changed it to 1 starting with 5.7.7. I think we should also change the default to 1, as running a master with sync_binlog=0 is risky - any crash of server or mysqld will create inconsistent slaves 99% of the time.
Attachments
Issue Links
- is blocked by
-
MDEV-18959 Engine transaction recovery through persistent binlog
-
- Stalled
-
-
MDEV-24386 MDEV-16589 benchmark & analysis
-
- Closed
-
- relates to
-
MDEV-34705 Storing binlog in InnoDB
-
- In Progress
-
1.
|
MDEV-16589 benchmark & analysis |
![]() |
Closed | Axel Schwenke |
Activity
Field | Original Value | New Value |
---|---|---|
Affects Version/s | 10.2.15 [ 23006 ] | |
Issue Type | Bug [ 1 ] | Task [ 3 ] |
Priority | Minor [ 4 ] | Major [ 3 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Link | This issue relates to MDEV-18959 [ MDEV-18959 ] |
Link | This issue relates to MDEV-18959 [ MDEV-18959 ] |
Link | This issue relates to MDEV-18959 [ MDEV-18959 ] |
Assignee | Axel Schwenke [ axel ] |
Fix Version/s | 10.6 [ 24028 ] |
Assignee | Axel Schwenke [ axel ] | Andrei Elkin [ elkin ] |
Assignee | Andrei Elkin [ elkin ] | Sujatha Sivakumar [ sujatha.sivakumar ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Sujatha Sivakumar [ sujatha.sivakumar ] | Axel Schwenke [ axel ] |
Link |
This issue is blocked by |
Assignee | Axel Schwenke [ axel ] | Sujatha Sivakumar [ sujatha.sivakumar ] |
Attachment | sysbench.pdf [ 56413 ] |
Link | This issue is blocked by MDEV-18959 [ MDEV-18959 ] |
Link | This issue relates to MDEV-18959 [ MDEV-18959 ] |
Link | This issue relates to DBAAS-7223 [ DBAAS-7223 ] |
Fix Version/s | 10.7 [ 24805 ] | |
Fix Version/s | 10.6 [ 24028 ] |
Priority | Critical [ 2 ] | Major [ 3 ] |
Fix Version/s | 10.8 [ 26121 ] | |
Fix Version/s | 10.7 [ 24805 ] |
Workflow | MariaDB v3 [ 88072 ] | MariaDB v4 [ 131826 ] |
Fix Version/s | 10.9 [ 26905 ] | |
Fix Version/s | 10.8 [ 26121 ] |
Fix Version/s | 10.10 [ 27530 ] | |
Fix Version/s | 10.9 [ 26905 ] |
Assignee | Sujatha Sivakumar [ sujatha.sivakumar ] | Andrei Elkin [ elkin ] |
Fix Version/s | 10.11 [ 27614 ] | |
Fix Version/s | 10.10 [ 27530 ] |
Description |
The default variable for sync_binlog is 0 for MariaDB, where Oracle changed it to 1 starting with 5.7.7. I think we should also change the default to 1, as running a master with sync_binlog=0 is risky - any crash of server or mysqld will create inconsistent slaves 99% of the time.
|
The default variable for sync_binlog is 0 for MariaDB, where Oracle changed it to 1 starting with 5.7.7. I think we should also change the default to 1, as running a master with sync_binlog=0 is risky \- any crash of server or mysqld will create inconsistent slaves 99% of the time. |
Fix Version/s | 10.12 [ 28320 ] | |
Fix Version/s | 10.11 [ 27614 ] |
Attachment | group_commit_benchmark.png [ 67225 ] |
Attachment | innodb_binlog.png [ 67342 ] |
Attachment | innodb_binlog_on_ssd.png [ 67361 ] |
Fix Version/s | 11.1 [ 28549 ] | |
Fix Version/s | 11.0 [ 28320 ] |
Component/s | Replication [ 10100 ] | |
Fix Version/s | 11.3 [ 28565 ] | |
Fix Version/s | 11.1 [ 28549 ] |
Fix Version/s | 11.4 [ 29301 ] | |
Fix Version/s | 11.3 [ 28565 ] |
Fix Version/s | 11.5 [ 29506 ] | |
Fix Version/s | 11.4 [ 29301 ] |
Issue Type | Task [ 3 ] | New Feature [ 2 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Fix Version/s | 11.6 [ 29515 ] | |
Fix Version/s | 11.5 [ 29506 ] |
Fix Version/s | 11.7 [ 29815 ] | |
Fix Version/s | 11.6 [ 29515 ] |
Link | This issue relates to MDEV-34705 [ MDEV-34705 ] |
Fix Version/s | 11.8 [ 29921 ] | |
Fix Version/s | 11.7 [ 29815 ] |
Fix Version/s | 11.8 [ 29921 ] |
IMHO, this should be a priority Major: a database without the D of ACID is not a "real" database.
https://jfg-mysql.blogspot.com/2018/10/consequences-sync-binlog-neq-1-part-1.html
https://fosdem.org/2019/schedule/event/sync_binlog_use_default/
https://twitter.com/jfg956/status/1081697022267351040