Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
Description
There's a race between FLUSH LOGS and binlog-group commit for Binlog-checkpoint notification which must be done *after* the committed group transactions' affected
data are flushed to disk. However the notification may happen before that fore the reason
FLUSH LOGS handler does to acquire necessary mutexes.
A test case follows with a patch to be committed soon.
Attachments
Issue Links
- relates to
-
MDEV-24530 binlog-optimize-thread-scheduling=0 case of binlog rotate via FLUSH LOGS may obsolate binlog file too eary
-
- Open
-
-
MDEV-24302 RESET MASTER hangs as Innodb does not report on binlog checkpoint
-
- Closed
-
-
MDEV-28948 FLUSH BINARY LOGS waits/hangs on mysql_mutex_unlock(&LOCK_index) forever
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Description |
There's a race between {{FLUSH LOGS}} and binlog-group commit for Binlog-checkpoint notification which must be done **after** the committed group transactions' affected
data are flushed to disk. However the notification may happen before that fore the reason {{FLUSH LOGS}} handler does to acquire necessary mutexes. A test case follows with a patch to committed soon. |
There's a race between {{FLUSH LOGS}} and binlog-group commit for Binlog-checkpoint notification which must be done **after** the committed group transactions' affected
data are flushed to disk. However the notification may happen before that fore the reason {{FLUSH LOGS}} handler does to acquire necessary mutexes. A test case follows with a patch to be committed soon. |
Link | This issue relates to MDEV-24530 [ MDEV-24530 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Andrei Elkin [ elkin ] | Sujatha Sivakumar [ sujatha.sivakumar ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Attachment | _binlog_checkpoint_stress.test [ 55524 ] |
Assignee | Sujatha Sivakumar [ sujatha.sivakumar ] | Andrei Elkin [ elkin ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Summary | binlog rotate via FLUSH LOGS may obsolate binlog file too eary | binlog rotate via FLUSH LOGS may obsolate binlog file for recovery too early |
Fix Version/s | 10.2.38 [ 25207 ] | |
Fix Version/s | 10.3.29 [ 25206 ] | |
Fix Version/s | 10.4.19 [ 25205 ] | |
Fix Version/s | 10.5.10 [ 25204 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 117815 ] | MariaDB v4 [ 158751 ] |
Link |
This issue relates to |