OpenTenBase / OpenTenBase/TXSQL
Bug#38328780: mysqld fails to start with assertions
まだ誰も着手していません。
- 主要言語
- C++
- スター
- 338
- フォーク
- 235
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Background:
When server is started with --skip-grant-tables privileges are not
checked. Remote connections are not allowed. In Windows, server has to
be run with TCP/IP, --shared-memory, or --named-pipe should be enabled
to allow remote connections. Otherwise server is not started and exits
execution early with a message that it was started with wrong
parameters.
Problem:
During early return server did not end the replication tracker thread
and compress GTID thread before it started to shut down the plugins as
it is done during normal server shutdown. As a result of that InnoDB
shutdown failed because it detected open transactions from those
threads.
Commit
https://github.com/LiuPlusPlus/TXSQL/commit/e54550dbb6cb3570147a6ca5bb284e824d654e10
Upstream Reference
https://github.com/mysql/mysql-server/commit/5b35664ed0cdb531b9c8298b81727a527437c12b
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、--skip-grant-tables と無効な Windows 接続パラメーターを使ってサーバーが早期終了する現象を再現し、その後、シャットダウンシーケンスを upstream commit 5b35664ed0cdb531b9c8298b81727a527437c12b と比較します。replication tracker スレッドと compress GTID スレッドがプラグインのシャットダウン前に終了し、InnoDB assertion が発生しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp, mysql
- 領域
- databases
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100