Shunki

Results 14 issues of Shunki

## What Enabling binlog output during restoration slows down the process. It is better to disable binlog during the restore and enable binlog after the restore is complete. ## How...

enhancement
good first issue

**Describe the bug** If MTS is enabled, replication may not resume when a replica node crashes. Specifically, the following error will occur. {"level":"error","ts":1634545113.4992788,"logger":"***","msg":"error","error":"failed to configure replica instance 2: failed to...

bug
enhancement

**Describe the bug** There is code that tries to disable binlog. https://github.com/cybozu-go/moco/blob/a7352fa275f057ac6b1249eeeb6749d64b6504e3/pkg/mycnf/generator.go#L168 However, this variable is the filename of binlog and does not disable binlog. https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#option_mysqld_log-bin To disable binlog, either...

bug

## What https://github.com/cybozu-go/moco/blob/1338c630814b63f7948fed1ac4172ca80f6d61f1/pkg/dbop/gtid.go#L24-L34 No test exists when RetrievedGtidSet is empty. ## How Describe how to address the issue. ## Checklist - [ ] Finish implementation of the issue - [...

good first issue

## What https://github.com/cybozu-go/moco/discussions/611 Enable simultaneous uploads to multiple buckets from moco-backup CronJob. ## How Describe how to address the issue. ## Checklist - [ ] Finish implementation of the issue...

**Describe the bug** KillConnections function also terminates system user processes. https://github.com/cybozu-go/moco/blob/c545ebbbab9e92aaf9b07c42263464d9faec50f9/pkg/dbop/kill.go#L19-L30 ``` mysql> SELECT * FROM information_schema.PROCESSLIST WHERE USER="system user"; +----+-------------+-----------------+------+---------+------+----------------------------------------------------------+------+ | ID | USER | HOST | DB |...

bug

**Describe the bug** SetReadOnly waits for a running DML. Therefore, if it waits for a long time, deleteGracePeriodSeconds may be reached. https://github.com/cybozu-go/moco/blob/c545ebbbab9e92aaf9b07c42263464d9faec50f9/clustering/operations.go#L154-L156 **Expected behavior** If SetReadOnly does not complete in...

bug

**Describe the bug** Binary logs may be missing under the following conditions: - Initialize and rebuild primary pod with CLONE - Replication delays are occurring and the primary pod does...

bug

**Describe the bug** If switchover is performed while replication is delayed, the WaitForGTID function will take a long time to execute, during which time it will not be possible to...

bug