RATATOSK
← リリース一覧

TiKVv7.5.7

セキュリティ 2破壊的変更 2非推奨 1重大な修正 63機能・改善 11その他の変更 43

TiKVの通知を受け取る

週次メールは確認すべき変更がある週だけ、深刻度がcriticalのセキュリティアドバイザリは即時に届きます。

セキュリティ2

一部のシナリオで Redact log の設定が反映

影響対象Redact log を有効にしている環境

一部のシナリオでは、Redact log を有効にしても効果がありませんでした。

原文を表示
- Fix the issue that enabling Redact log does not take effect in certain scenarios #59279 @ tangenta
docs.pingcap.com/tidb/stable/release-7.5.7

SST インジェスト警告ログでのキーの短縮・秘匿と16進数表記

影響対象SST インジェスト警告ログ(推定)

TiKV が sst ingest is too slow 警告を出力する際、ログが過度に長くなり、生のキーが露出し、キーが16進数形式で表示されないことがありました。

原文を表示

破壊的変更2

履歴統計のデフォルトが OFF に変更

影響対象tidb_enable_historical_stats のデフォルト値に依存している TiDB 環境(推定)

デフォルトは ON でした。運用者側で変更を加えなくても、新しい OFF のデフォルトにより履歴統計が無効になります。

原文を表示
- Change the default value of tidb_enable_historical_stats from ON to OFF , which turns off historical statistics to avoid potential stability issues #53048 @ hawkingrei
docs.pingcap.com/tidb/stable/release-7.5.7

ANALYZE 後のクラスタ全体統計更新の省略

影響対象ANALYZE 文を実行する環境

ANALYZE の実行時間が短縮されます。

原文を表示
- Avoid refreshing statistics across the entire cluster after ANALYZE statement execution, reducing the execution time of ANALYZE #57631 @ 0xPoe
docs.pingcap.com/tidb/stable/release-7.5.7

非推奨1

TiKVの自動コンパクション設定の非推奨化

影響対象region-compact-check-interval、region-compact-check-step、region-compact-min-tombstones、region-compact-tombstones-percent、region-compact-min-redundant-rows、region-compact-redundant-rows-percentのいずれかを使用するTiKV環境
削除予定不明

自動コンパクションの設定には、後継となるgc.auto-compaction設定グループを使用してください。

原文を表示
- TiKV deprecates the following configuration items and replaces them with the new gc.auto-compaction configuration group, which controls automatic compaction behavior #18727 @ v01dstar
- Deprecated configuration items: region-compact-check-interval , region-compact-check-step , region-compact-min-tombstones , region-compact-tombstones-percent , region-compact-min-redundant-rows , and region-compact-redundant-rows-percent .
docs.pingcap.com/tidb/stable/release-7.5.7

重大な修正63表面化しなかった不具合1

  • スレッドごとのマップ済み割り当てメトリクスの修正
    影響対象使用中のスレッドごとのマップ済み割り当てメトリクス

    割り当てバイト数のレートが sst-importer と apply の各スレッドでの割り当てを示していた場合でも、メトリクスには、使用されていない sched-worker-high と unified-read-pool での高いメモリ使用量が表示されていました。

    - tikv/tikv#18125
    - Fix incorrect thread memory metrics #18125 @ Connor1996
    github.com/tikv/tikv/releases/tag/v7.5.7
  • SQL ダイジェストの不整合の修正
    影響対象SQL ダイジェストの生成(推定)

    複数の文字セット導入子(_charset(xxx) や _charset(xxx2) など)を含む SQL 文では、異なるダイジェストが生成されることがありました。

    - Fix the issue that SQL statements containing _charset(xxx), _charset(xxx2), ... generate different digests #58447 @ xhebox
    docs.pingcap.com/tidb/stable/release-7.5.7
  • ALTER RANGE meta SET PLACEMENT POLICY のキー範囲の誤りを修正
    影響対象ALTER RANGE meta SET PLACEMENT POLICY の使用

    ALTER RANGE meta SET PLACEMENT POLICY の使用時に、操作で誤ったキー範囲が使われることがありました。

    - Fix the issue of incorrect key range in ALTER RANGE meta SET PLACEMENT POLICY #60888 @ nolouch
    docs.pingcap.com/tidb/stable/release-7.5.7
  • Grafana の Stats Healthy Distribution パネルのデータ表示誤りを修正
    影響対象Stats Healthy Distribution パネルを使用する Grafana 環境(推定)

    この修正前は、パネルに誤ったデータが表示されることがありました。

    - Fix the issue that the data in the Stats Healthy Distribution panel of Grafana might be incorrect #57176 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-7.5.7
  • latin1_bin の比較動作の修正
    影響対象latin1_bin 照合順序を使用する SQL 比較(推定)

    latin1_bin を使用した比較の結果が、utf8mb4_bin および utf8_bin を使用した比較の結果と異なっていました。

    - Fix the issue that the comparison behavior of latin1_bin differs from that of utf8mb4_bin and utf8_bin #60701 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB の ADD UNIQUE INDEX によるデータ不整合の修正表面化しなかった不具合
    影響対象ADD UNIQUE INDEX を実行する TiDB 環境

    この修正以前は、ADD UNIQUE INDEX の実行によってデータ不整合が発生する可能性がありました。

    - Fix the issue that executing ADD UNIQUE INDEX might cause data inconsistency #60339 @ tangenta
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB の統計システムテーブルに非公開インデックスが表示されなくなる
    影響対象非公開インデックスが存在する状態で統計システムテーブルを照会する TiDB 環境(推定)

    以前は、統計システムテーブルに非公開インデックスが表示されていました。

    - Fix the issue that non-public indexes are shown in the statistics system table #60430 @ tangenta
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TopN 統計における TiDB の行数推定の修正
    影響対象収集された列統計がすべて TopN に含まれ、その後に書き込みが行われる TiDB 環境

    後続の書き込み後も、行数の推定値が 0 のままになることがありました。

    - Fix the issue that when the collected column statistics are all in TopN, the row count estimation might remain 0 even after subsequent writes #47400 @ terry1purcell
    docs.pingcap.com/tidb/stable/release-7.5.7
  • cost_trace 出力の TiDB 推定コストの修正
    影響対象explain format="cost_trace" を使用する TiDB クエリ

    explain format="cost_trace" に表示される推定コストが正しくない場合がありました。

    - Fix the issue that the estimated cost displayed in explain format="cost_trace" might be incorrect #61155 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 月または年をまたぐ TiDB の行数過大推定の修正
    影響対象月または年をまたぐ行数推定を行う TiDB 環境(推定)

    月または年にまたがる行数の推定値が大幅に過大になることがありました。

    - Fix the issue that row count estimates across months or years can be significantly overestimated #50080 @ terry1purcell
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB の JOIN 行数推定精度の修正
    影響対象TiDB の JOIN 行数推定(推定)

    JOIN の列統計またはインデックス統計が欠落している場合、行数の推定が大きく不正確になることがありました。このリリースで推定を修正しました。

    - Fix the issue that row count estimation for JOIN can be highly inaccurate when column or index statistics are missing #61602 @ qw4990
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 仮想生成列が先頭列である TiDB テーブルの統計情報修正
    影響対象最初の列が仮想生成列である TiDB テーブル(推定)

    このリリース以前は、これらのテーブルの統計情報が不正になることがありました。このリリースで問題が修正されました。

    - Fix the issue that statistics might be incorrect when the first column of a table is a virtual generated column #61606 @ winoros
    docs.pingcap.com/tidb/stable/release-7.5.7
  • ADMIN CHECK の失敗時に成功と報告する問題の修正
    影響対象ADMIN CHECK 操作

    チェック中に内部 SQL の実行が失敗した場合に発生していた問題です。

    - Fix the issue that ADMIN CHECK still returns success even after some internal SQL executions fail #61612 @ joechenrh
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiKV Grafana ダッシュボードにおける2つのメトリクスの表示修正
    影響対象TiKV Grafana ダッシュボードの Ingestion picked level と Compaction Job Size(files)

    表示時に、ダッシュボード上でこれらの値が正しく表示されない問題が修正されました。

    - Fix the issue that Ingestion picked level and Compaction Job Size(files) are displayed incorrectly in the TiKV dashboard in Grafana #15990 @ Connor1996
    docs.pingcap.com/tidb/stable/release-7.5.7
  • ブラジルとエジプトのタイムゾーン変換の修正
    影響対象ブラジルまたはエジプトのタイムゾーン変換を行う TiKV ワークロード

    TiKV がブラジルまたはエジプトのタイムゾーン変換を行う際、誤った結果を生成することがありました。

    - Fix the issue that TiKV converts the time zone incorrectly for Brazil and Egypt #16220 @ overvenus
    docs.pingcap.com/tidb/stable/release-7.5.7
  • split-merge-interval の繰り返し変更が反映されるように
    影響対象split-merge-interval を繰り返し変更する PD の構成

    設定を繰り返し変更した場合(たとえば 1s から 1h に変更し、再び 1s に戻した場合)、変更が反映されないことがありました。

    - Fix the issue that the split-merge-interval configuration item might not take effect when you modify its value repeatedly (such as changing it from 1s to 1h and back to 1s ) #8404 @ lhy1024
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiKV のスケーリング時に resolved ts の遅延が増加し続ける問題の修正
    影響対象同一 IP アドレス上でノードをスケールインまたはスケールアウトする TiKV クラスター

    古いストア ID が残っている状態で、同一 IP アドレス上の TiKV ノードをスケールインまたはスケールアウトすると、resolved ts の遅延が増加し続けていました。この動作を修正しました。

    - Fix the issue that the resolved ts lag keeps increasing after scaling in or out TiKV nodes on the same IP address because of outdated store IDs #12162 @ 3AceShowHand
    docs.pingcap.com/tidb/stable/release-7.5.7
  • SST 復元での CF ごとのタイムスタンプフィルタリングの追加
    影響対象タイムスタンプが重複する SST バージョンを含む sst_importer による復元

    SST データに境界より前の古いバージョンや未完了のバージョン、または復元対象時点より後のバージョンが含まれていると、復元によって適用済みの変更が再適用されたり、整合性が損なわれたりする可能性がありました。

    - tikv/tikv#18399
    - The Download API of TiKV supports filtering out data within a certain time range when downloading backup files, which avoids importing outdated or future data versions during restore #18399 @ 3pointer
    github.com/tikv/tikv/releases/tag/v7.5.7
  • Raftstore のスローログにおけるメッセージインデックス報告の修正
    影響対象StoreFsm::handle_msgs の raftstore スローログを出力する TiKV 環境(推定)

    StoreFsm::handle_msgs の処理中にスローログが記録された際、遅延した StoreMsg::CompactEvent が StoreMsg::Unreachable としてログに表示され、デバッグ時に誤解を招くことがありました。

    - tikv/tikv#18561
    - Fix misleading descriptions in StoreMsg log entries in slow logs #18561 @ LykxSassinator
    github.com/tikv/tikv/releases/tag/v7.5.7
  • 復旧後に他の TiKV ノードをスローストアと誤検出する問題の修正
    影響対象TiKV 障害からの復旧が発生するクラスター

    1つの TiKV 障害から復旧した後、別のノードがスローストアと誤検出され、そのノードのリーダーが退避され、報告される QPS が50%低下していました。

  • グレースフルシャットダウン時の実行中の手動コンパクションジョブのキャンセル機能
    影響対象手動コンパクションジョブを実行する TiKV ノード

    グレースフルシャットダウン中に、実行中のジョブが処理を続け、ローリング再起動やシャットダウンを遅らせることがありました。

    - tikv/tikv#18396
    - Fix the issue that TiKV fails to terminate ongoing manual compaction tasks during graceful shutdown #18396 @ LykxSassinator
    github.com/tikv/tikv/releases/tag/v7.5.7
  • TiKV 再起動後に Raft ピアが busy apply のままになる問題の修正
    影響対象TiKV Raft ピア

    TiKV の再起動後、一部のピアが Raft ログの遅延がないにもかかわらず 2 分間 busy apply のままになることがあり、Server is busy エラーが発生し、PD がそのインスタンスへリーダーを移譲できなくなっていました。

    - tikv/tikv#18233
    - Fix the issue that the unexpected Server is busy error occurs after TiKV restarts #18233 @ LykxSassinator
    github.com/tikv/tikv/releases/tag/v7.5.7
  • メモリー以外のソースからの Azure Blob アップロード遅延の修正
    影響対象アップロードデータをメモリー以外のソースから読み取る Azure Blob バックアップ

    報告されたケースでは、400 MiB のフラッシュに約17分かかり、CPUコアを1つ完全に使用していました。

    - tikv/tikv#18410
    - Fix the issue that log backup uploads to Azure Blob Storage are slow when transferring large volumes of data #18410 @ YuJuncen
    github.com/tikv/tikv/releases/tag/v7.5.7
  • Raftstore の CPU プロファイリング中のデッドロック修正
    影響対象AWS Arm 上で CPU プロファイリングを使用する TiKV デプロイメント

    CPU プロファイリング中にデッドロックが発生すると、raftstore スレッドがブロックされ、PD へのハートビート送信が停止して、TiKV が切断されたように見える可能性がありました。

    - tikv/tikv#18474
    - Fix the issue that a deadlock might be triggered during CPU profiling #18474 @ YangKeao
    github.com/tikv/tikv/releases/tag/v7.5.7
  • Task::Compact によるコンパクションの繰り返しの修正
    影響対象MVCC バージョンが 1 つの行に属する大規模リージョン

    cleanup_worker に処理待ちの作業があり、コンパクションが必要なリージョンが多数ある場合、分割できない大規模リージョンが Task::Compact を繰り返しキューに追加することがありました。重複した手動コンパクションは有用な処理を行わず、コンパクションが必要なほかのタスクを妨げていました。

  • utf8mb4_unicode_ci 照合順序で誤った結果が返る問題の修正
    影響対象utf8mb4_unicode_ci 照合順序(推定)
  • TiFlash レプリカによるオンライン Unsafe Recovery の停止を修正
    影響対象TiFlash を使用し、オンラインの Unsafe Recovery と自動障害ストア検出を有効にしたクラスター

    一部の TiFlash レプリカにより、リカバリーでコミットインデックスを進められず、オンラインの Unsafe Recovery がタイムアウトを超過することがありました。

    - tikv/tikv#18197
    - Fix the issue that Online Unsafe Recovery might be blocked by certain TiFlash replicas, preventing the commit index from advancing #18197 @ v01dstar
    github.com/tikv/tikv/releases/tag/v7.5.7
  • Amazon S3バックアップでのBRのIMDSv2対応
    影響対象BRがインスタンスのIAMロールを使ってAmazon S3にアクセスする、Amazon EC2上のTiDBデプロイメント

    以前は、TiKV PodがS3へのアクセス権を持っていても、S3へのフルデータベースバックアップでAWS認証情報を取得できず、失敗することがありました。インスタンスで許可するよう設定されている場合、BRはそのEC2インスタンスに関連付けられたIAMロールを使ってS3にアクセスできるようになりました。

    - When deploying TiDB on Amazon EC2, BR supports AWS Instance Metadata Service Version 2 (IMDSv2). You can configure your EC2 instance to allow BR to use the IAM role associated with the instance for appropriate permissions to access Amazon S3 #16443 @ pingyu
    docs.pingcap.com/tidb/stable/release-7.5.7
  • IndexMerge と IndexLookUp の共有 KV リクエストにおけるデータ競合の修正
    影響対象IndexMerge または IndexLookUp で共有 KV リクエストを使用するクエリのプッシュダウン(推定)

    クエリをプッシュダウンした際、これらの演算子で共有 KV リクエストがデータ競合を引き起こす可能性がありました。

    - Fix the issue that shared KV requests in IndexMerge and IndexLookUp operators cause data races when pushing down queries #60175 @ you06
    docs.pingcap.com/tidb/stable/release-7.5.7
  • Hash Aggregation の goroutine リーク修正
    影響対象Hash Aggregation オペレーターを使用する構成(推定)
    - Fix a potential goroutine leak issue in the Hash Aggregation operator #58004 @ xzhangxian1008
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 頻繁な Region マージによる TTL ジョブ起動阻害の修正
    影響対象TTL ジョブを実行している環境(推定)

    頻繁な Region マージにより、TTL ジョブを開始できないことがありました。

    - Fix the issue that frequent Region merges prevent TTL jobs from starting #61512 @ YangKeao
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 情報損失を伴う DDL 実行後の TiFlash クエリ不整合の修正
    影響対象TiFlash のクエリ(推定)

    情報損失を伴う DDL 文の実行後、TiFlash のクエリ結果に不整合が生じることがありました。

    - Fix the issue that TiFlash query results are inconsistent after executing a lossy DDL statement #61455 @ Lloyd-Pottiger
    docs.pingcap.com/tidb/stable/release-7.5.7
  • スキーマバージョンの更新失敗後に DDL 操作が停止する問題の修正
    影響対象メタデータロック(MDL)を無効にしている構成

    この構成では、スキーマバージョンの更新に失敗すると、DDL 操作が停止することがありました。

    - Fix the issue that after disabling metadata locking (MDL), DDL operations get stuck after failing to update the schema version #61210 @ wjhuang2016
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB セッションのクラッシュ修正
    影響対象Fix Control #44855 を有効にしている環境

    Fix Control #44855 が有効な場合に、TiDB セッションがクラッシュすることがありました。

    - Fix the issue that a TiDB session might crash when Fix Control #44855 is enabled #59762 @ winoros
    docs.pingcap.com/tidb/stable/release-7.5.7
  • タスクのタイムアウト時に TiDB のインメモリ統計情報が削除される問題の修正
    影響対象TiDB の統計情報の例外処理

    バックグラウンドタスクがタイムアウトした際、統計情報に対する不適切な例外処理により、インメモリ統計情報が誤って削除されることがありました。

    - Fix the issue that improper exception handling for statistics causes in-memory statistics to be mistakenly deleted when background tasks time out #57901 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB Hash Join v1 の panic recovery の修正
    影響対象TiDB Hash Join v1 オペレーターを使用する TiDB 環境

    Close() メソッドで panic が発生した際、panic から復旧できませんでした。

    - Fix the issue that the Close() method of the Hash Join v1 operator fails to recover from a panic #60926 @ xzhangxian1008
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiFlash のシャローコピーによるクラッシュと誤結果の問題を修正
    影響対象TiFlash を使用する TiDB 環境

    PhysicalExchangeSender.HashCol のシャローコピーにより、TiFlash がクラッシュしたり、誤った結果が生成されたりする可能性がありました。

    - Fix the issue that shallow copy of PhysicalExchangeSender.HashCol causes TiFlash to crash or generate incorrect results #60517 @ windtalker
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB の最新統計情報の更新失敗を修正
    影響対象ANALYZE 文を実行している TiDB クラスター

    極端なケースでは、ANALYZE 文のディスクへのスピル処理に時間がかかりすぎると、ほかの TiDB ノードで最新の統計情報を更新できないことがありました。

    - Fix the issue that when the disk-spilling operation of an ANALYZE statement takes too long in extreme cases, other TiDB nodes might fail to update the latest statistics #54552 @ 0xPoe
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB の循環外部キー定義による無限ループの修正
    影響対象循環外部キー定義を使用している TiDB 環境(推定)

    この修正前は、循環外部キーの定義によって無限ループが発生することがありました。

    - Fix the issue that circular foreign key definitions cause infinite loops #60985 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB Plan Cache の実行計画エラー修正
    影響対象Plan Cache を使用する TiDB 環境(推定)

    以前は、Plan Cache に誤った実行計画が保存され、実行エラーが発生することがありました。

    - Fix the issue that Plan Cache stores an incorrect execution plan, causing execution errors #56772 @ dash12653
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB の TopN プッシュダウンにおけるソート項目生成の修正
    影響対象式ベースのソート項目を使う TopN プッシュダウンを利用するクエリ(推定)

    TopN のプッシュダウン時に、式ベースのソート項目が誤って生成されることがありましたが、修正されました。

    - Fix the issue that an expression-based TopN sort item is incorrectly generated during TopN pushdown #60655 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDBのtidb_cost_model_versionのデフォルト値の修正
    影響対象TiDBでtidb_cost_model_versionのデフォルト値を使用する環境(推定)

    変数のデフォルト値が誤って設定されていました。

    - Fix the issue that the default value of the system variable tidb_cost_model_version is set incorrectly #61565 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-7.5.7
  • インデックス追加処理のハング修正
    影響対象インデックスの追加

    インデックスの追加中に ADMIN CANCEL DDL JOBS を実行すると、インデックス追加処理がハングすることがありました。

    - Fix the issue that executing ADMIN CANCEL DDL JOBS while adding an index causes the index-adding process to hang #61087 @ tangenta
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 複数スキーマ変更時のデータとインデックスの整合性を修正
    影響対象複数のインデックスを追加する複数スキーマ変更

    複数スキーマ変更で複数のインデックスを追加した後、データとインデックスの整合性が失われることがありました。

    - Fix the issue that data and indexes became inconsistent after adding multiple indexes through multi-schema change #61255 @ tangenta
    docs.pingcap.com/tidb/stable/release-7.5.7
  • クライアント非互換の圧縮アルゴリズム使用の修正
    影響対象server.grpc-compression-type を使用し、TiKV の圧縮アルゴリズムをデコードできないクライアントを利用する TiKV デプロイメント

    server.grpc-compression-type を設定した状態で 4.0 から 6.5.11 にアップグレードすると、TiKV がクライアントでデコードできない圧縮アルゴリズムを使用し、TiDB が通常のサービスを提供できなくなることがありました。この互換性のないアルゴリズムの使用は修正されましたが、修正後にアルゴリズムがどのように選択されるかは、リリースノートに記載されていません。

    - Fix the issue that TiKV might use a compression algorithm that the client cannot decode #18079 @ ekexium
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB Dashboard 接続による PD の goroutine リークの修正
    影響対象TiDB Dashboard からの TCP 接続を処理する PD 環境

    TiDB Dashboard の TCP 接続が適切にクローズされない場合、PD で goroutine がリークすることがありました。このリークを修正しました。

    - Fix the issue that improperly closing TiDB Dashboard TCP connections could lead to PD goroutine leaks #9402 @ baurine
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 新規追加された TiKV ノードのスケジューリング失敗の修正
    影響対象新たに追加された TiKV ノードをスケジューリングする PD 環境

    この修正以前は、新たに追加された TiKV ノードのスケジューリングに失敗することがありました。

    - Fix the issue that newly added TiKV nodes might fail to be scheduled #9145 @ bufferflies
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TSO サービスが利用不能になる問題の修正
    影響対象tidb_enable_tso_follower_proxy を有効にした PD 構成

    tidb_enable_tso_follower_proxy が有効な場合に TSO サービスが利用不能になることがありました。このリリースではこの問題を修正しています。

    - Fix the issue that enabling tidb_enable_tso_follower_proxy might cause the TSO service to become unavailable #9188 @ Tema
    docs.pingcap.com/tidb/stable/release-7.5.7
  • SST ファイル削除による TiFlash のパニックを修正
    影響対象IMPORT INTO または BR restore を使用する TiFlash 環境(推定)

    IMPORT INTO または BR restore の実行中に SST ファイルが誤って削除されると、TiFlash がパニックする可能性がありました。

    - Fix the panic issue caused by accidental deletion of SST files during running IMPORT INTO or BR restore #10141 @ CalvinNeo
    docs.pingcap.com/tidb/stable/release-7.5.7
  • NULL 式インデックスによる TiFlash のパニックを修正
    影響対象((NULL)) 形式の式インデックスを使用する TiFlash 環境

    このリリース以前は、((NULL)) 形式の式インデックスを作成すると TiFlash がパニックすることがありました。この形式の式インデックスを作成しても、パニックしなくなりました。

    - Fix the issue that creating an expression index in the form of ((NULL)) causes TiFlash to panic #9891 @ JaySon-Huang
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiFlash のスナップショット処理時のパニック修正
    影響対象不規則な Region のキー範囲を持つスナップショットを処理する TiFlash 環境

    このリリースより前は、不規則な Region のキー範囲を持つスナップショットの処理中に TiFlash がパニックすることがありました。このパニックは修正されました。

    - Fix the issue that TiFlash might panic when handling snapshots with irregular Region key-ranges #10147 @ JaySon-Huang
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiFlash の過剰なメモリ消費の修正
    影響対象TiFlash のクラスターテーブル

    クラスターテーブルに多数の ENUM 列が含まれる場合、TiFlash が大量のメモリを消費することがありました。

    - Fix the issue that TiFlash might consume a large amount of memory when tables in a cluster contain a large number of ENUM type columns #9947 @ JaySon-Huang
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 大きな行の挿入後に TiFlash が再起動できない問題の修正
    影響対象16 MiBを超える単一行を挿入する TiFlash ワークロード

    16 MiBを超える単一行を挿入した後、TiFlashが再起動に失敗することがありました。この再起動失敗を修正しました。

    - Fix the issue that TiFlash might fail to restart after inserting a single row of data larger than 16 MiB #10052 @ JaySon-Huang
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 大きなインデックスの PITR 復元失敗を修正
    影響対象PITR を使用して 3072 バイトを超えるインデックスを復元する環境

    3072 バイトを超えるインデックスの PITR による復元に失敗していました。

    - Fix the issue that PITR fails to restore indexes larger than 3072 bytes #58430 @ YuJuncen
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 下流に外部ストレージを使用する TiCDC changefeed の停止状態に関する問題の修正
    影響対象下流に外部ストレージを使用する TiCDC changefeed
    - Fix the issue that the changefeed might get stuck when using external storage as the downstream #9162 @ asddongmen
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiCDC の Kafka changefeed が停止する問題の修正
    影響対象Kafka を下流に使用する TiCDC changefeed

    レプリケーショントラフィックが下流の Kafka のトラフィックしきい値を超えると、changefeed が停止状態になることがありました。この問題は修正されています。

    - Fix the issue that the changefeed might get stuck after the replication traffic exceeds the traffic threshold of the downstream Kafka #12110 @ 3AceShowHand
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiCDC changefeed の一時停止後に停止状態のままになる問題の修正
    影響対象--overwrite-checkpoint-ts を使って TiCDC changefeed を一時停止する場合

    この修正前は、一時停止コマンドによって changefeed が停止状態のままになることがありました。この動作は修正されました。

    - Fix the issue that using the --overwrite-checkpoint-ts parameter in the changefeed pause command might cause the changefeed to be stuck #12055 @ hongyunyan
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiCDC イベントフィルター評価時のパニック修正
    影響対象仮想カラムを持つテーブルに対する TiCDC イベントフィルター

    このリリース以前は、仮想カラムを持つテーブルでイベントフィルター式を評価すると、パニックが発生することがありました。

    - Fix the issue that evaluating event filter expressions on tables containing virtual columns might cause a panic #12206 @ lidezhu
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiCDC ディスパッチャー設定での大文字・小文字を区別した名前照合の修正
    影響対象大文字・小文字を区別した照合の影響を受ける列名またはインデックス名を含む TiCDC ディスパッチャー設定(推定)

    列名やインデックス名で大文字・小文字を区別して照合する際に問題が発生していました。照合結果に適用されるルールの詳細は示されていません。

    - Fix the issue of case-sensitive matching for column and index names in the dispatcher configuration #12103 @ wk989898
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB Lightning のインポート停止問題の修正
    影響対象クラウドストレージから TiDB に Parquet ファイルをインポートする TiDB Lightning の処理

    クラウドストレージから TiDB に Parquet ファイルをインポートする際、TiDB Lightning が数時間にわたって停止することがありました。

    - Fix the issue that TiDB Lightning can get stuck for several hours when importing Parquet files from cloud storage into TiDB #60224 @ joechenrh
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB Lightning のタイムアウトエラーの修正
    影響対象TiKV へ RPC リクエストを送信する TiDB Lightning

    TiKV への RPC リクエストがタイムアウトすると、TiDB Lightning は context deadline exceeded エラーを返していました。

    - Fix the issue that TiDB Lightning returns the context deadline exceeded error when the RPC request to TiKV times out #61326 @ OliverS929
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TSDB の過剰なメモリ消費の修正
    影響対象高カーディナリティの時系列データを処理する TSDB

    TSDB が高カーディナリティの時系列データを処理する際にメモリを過剰に消費する問題がありました。このリリースで修正されています。

    - Fix the issue that TSDB consumes too much memory under high cardinality of time series data, and provide a memory configuration option for TSDB #295 @ mornyx
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TSDB の過剰なメモリ使用の修正
    影響対象TSDB のデプロイ環境

    時系列データのカーディナリティが高い場合、TSDB が過剰なメモリを消費することがありました。このリリースでは、TSDB のメモリ設定オプションも追加されています。

    - Fix the issue that TSDB consumes too much memory under high cardinality of time series data, and provide a memory configuration option for TSDB #295 @ mornyx
    docs.pingcap.com/tidb/stable/release-7.5.7

機能・改善11

  • フロー制御設定のオンライン対応
    - tikv/tikv#17395
    - Support dynamically modifying flow-control configurations for write operations #17395 @ glorv
    github.com/tikv/tikv/releases/tag/v7.5.7
  • FSM のスケジュール関連メトリクスの追加
  • Raftstore I/O 所要時間メトリクスの TiKV ダッシュボードへの追加
  • TiKV の自動コンパクション設定の追加
    - TiKV deprecates the following configuration items and replaces them with the new gc.auto-compaction configuration group, which controls automatic compaction behavior #18727 @ v01dstar
    - New configuration items: gc.auto-compaction.check-interval , gc.auto-compaction.tombstone-num-threshold , gc.auto-compaction.tombstone-percent-threshold , gc.auto-compaction.redundant-rows-threshold , gc.auto-compaction.redundant-rows-percent-threshold , and gc.auto-compaction.bottommost-level-force .
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB の Region 分割およびデータ取り込み向けフロー制御インターフェース
    - Add flow control interfaces for Region splitting and data ingestion during data import #61553 @ tangenta
    docs.pingcap.com/tidb/stable/release-7.5.7
  • インデックス追加時の TiKV 書き込み速度監視メトリクス
    - Add a monitoring metric to observe the write speed to TiKV during index addition #60925 @ CbcWestwolf
    docs.pingcap.com/tidb/stable/release-7.5.7
  • NOT NULL カラムに対する IS NULL 判定の FALSE への定数畳み込み
    - Support constant folding for columns with NOT NULL constraints, folding IS NULL evaluations into FALSE #62050 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-7.5.7
  • より多くの JOIN 種別への定数伝播
    - The optimizer supports constant propagation in more types of JOIN operations #51700 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiKV のスレッド別メモリ使用量メトリクス
    - Add metrics for memory usage per thread #15927 @ Connor1996
    docs.pingcap.com/tidb/stable/release-7.5.7
  • peer メッセージと store メッセージのスローログ
    - Add slow logs for peer and store messages #16600 @ Connor1996
    docs.pingcap.com/tidb/stable/release-7.5.7
  • PD 向け Prometheus Go ランタイムメトリクスの追加
    - Add GO runtime-related monitoring metrics in Prometheus #8931 @ bufferflies
    docs.pingcap.com/tidb/stable/release-7.5.7
その他の変更43
  • 遅い AwakenRegions メッセージ処理の改善
  • CompactedEvent(RocksCompactedEvent) の処理遅延への対処
  • AWS ストレージの認証情報取得の修正
  • スケーリング時のピアクリアの最適化
  • 大量の空リージョンの散布を高速化
  • スナップショット適用およびリージョン破棄処理でのSST取り込み中の書き込み継続
    - tikv/tikv#18081
    - Support ingesting SST files without blocking foreground writes, reducing the impact of latency #18081 @ hhwyt
    github.com/tikv/tikv/releases/tag/v7.5.7
  • 並行 SST 取り込み時のインデックス追加フロー制御の修正
    - tikv/tikv#18452
    - Fix the issue that TiKV allows excessive SST ingest requests under high concurrency #18452 @ hbisheng
    github.com/tikv/tikv/releases/tag/v7.5.7
  • 個別マウントパスにおける KVDB の I/O ジッター検出と復旧
    - tikv/tikv#18463
    - Optimize the detection mechanism for I/O jitter on KvDB disks when KvDB and RaftDB use separate mount paths #18463 @ LykxSassinator
    github.com/tikv/tikv/releases/tag/v7.5.7
  • GC コンパクションで評価順位の高いリージョンを優先
  • GC セーフポイントを考慮するコンパクションスコア計算
  • 不正な UTF-8 を含む SQL のエンコード失敗への対処
  • 非同期スナップショットの所要時間におけるテールレイテンシーの最適化
  • GC 向けコンパクションの gc_worker への移行
  • tikv/tikv#18799
  • 大規模テーブルへの単純なクエリ向けデータ分布検索の最適化
    - Optimize the performance of obtaining data distribution information when performing simple queries on tables with large data volumes #53850 @ you06
    docs.pingcap.com/tidb/stable/release-7.5.7
  • DDL実行中のDMLロックの最適化
    - Optimize the locking logic of DML during DDL execution to reduce lock conflicts between DML and DDL operations, improving DDL performance in some scenarios. However, due to the additional secondary index locking operations, DML performance might decrease slightly #62337 @ lcwangchao
    docs.pingcap.com/tidb/stable/release-7.5.7
  • tidb_opt_ordering_index_selectivity_threshold の制御性向上
    - Improve the behavior when the system variable tidb_opt_ordering_index_selectivity_threshold is set to 1 , enhancing the control capability of this variable #60242 @ time-and-fate
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 一時インデックスマージの性能改善
    - Improve the performance of temporary index merging when extensive lock conflicts exist between DML and DDL operations #61433 @ tangenta
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiKV のコンパクションでデータセグメントを回収効率順に処理
    - Optimize the trigger logic of TiKV compaction to process all data segments in order of reclamation efficiency, reducing the performance impact of MVCC redundant data #18571 @ v01dstar
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiKV の非同期スナップショットと書き込みのテールレイテンシ最適化
    - Optimize the tail latency of async snapshot and write operations in environments with a large number of SST files #18743 @ Connor1996
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 空のテーブルと小規模な Region のマージ高速化
    - Improve the speed of Region Merge in scenarios with empty tables and small Regions #17376 @ LykxSassinator
    docs.pingcap.com/tidb/stable/release-7.5.7
  • CompactedEvent の処理を split-check ワーカーに移動
    - Optimize the handling of CompactedEvent in Raftstore by moving it to the split-check worker, reducing blocking on the main Raftstore thread #18532 @ LykxSassinator
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 遅いSST取り込み時のTiKVによるget_sst_key_rangesのスキップ
    - Log only SST ingest is experiencing slowdowns when SST ingest is too slow, and skip calling get_sst_key_ranges to avoid performance jitter #18549 @ LykxSassinator
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiKV 再起動後のアクセス遅延の最適化
    - Optimize the jittery access delay when restarting TiKV due to waiting for the log to be applied, improving the stability of TiKV #15874 @ LykxSassinator
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 取り込み処理を伴わないリージョンバランシング中の古い範囲のクリーンアップ
    - Optimize the cleanup mechanism of residual data to mitigate the impact on request latency #18107 @ LykxSassinator
    docs.pingcap.com/tidb/stable/release-7.5.7
  • スケールイン時のオフラインストアデータ保持
    - Optimize the cleanup mechanism of residual data to mitigate the impact on request latency #18107 @ LykxSassinator
    docs.pingcap.com/tidb/stable/release-7.5.7
  • Raft Engine fetch_entries_to の競合低減
    - Optimize the performance of fetch_entries_to in Raft Engine to reduce contention and improve performance under mixed workloads #18605 @ LykxSassinator
    docs.pingcap.com/tidb/stable/release-7.5.7
  • PDで不要なエラーログを削減
    - Reduce unnecessary error logs #9370 @ bufferflies
    docs.pingcap.com/tidb/stable/release-7.5.7
  • ワイドテーブルでの TiFlash OOM リスクの可視性向上
    - Enhance the observability for TiFlash OOM risks in wide table scenarios #10272 @ JaySon-Huang
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiFlash ストレージスナップショットの再試行上限引き上げ
    - Increase the maximum retry count when acquiring storage snapshots to improve query stability for large tables #10300 @ JaySon-Huang
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 可視の生成列インデックスに対するMPPプラン選択の修正
    - Fix the issue that MPP plans might not be selected when indexes on generated columns are set as visible #47766 @ AilinKid
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 冗長な IndexLookup ログ出力の削除
    - Remove redundant log entries when the IndexLookup operator encounters a context canceled error #61072 @ yibin87
    docs.pingcap.com/tidb/stable/release-7.5.7
  • BIT 型テーブルの統計情報読み込みを修正
    - Fix the issue that statistics for tables of the BIT type cannot be loaded #62289 @ YangKeao
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB の BIT 型カラム統計情報の読み込み修正
    - Fix the issue that statistics for BIT type columns fail to be loaded into memory #59759 @ YangKeao
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB のコスト計算式に空の括弧が表示される問題の修正
    - Fix the issue that the cost formulas displayed in explain format="cost_trace" might contain empty parentheses #61127 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-7.5.7
  • NULL を含む TiDB のインデックス範囲構築の修正
    - Fix the issue that internal queries might fail to construct index range queries properly when using NULL #62196 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDB における ANALYZE サブタスクの並行実行数超過の修正
    - Fix the issue that the concurrency of ANALYZE subtasks greatly exceeds the configured limit #61785 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiDBのバックグラウンドでのパニックログ出力の修正
    - Fix the issue that TiDB might print panic logs in the background when column or index statistics are missing #61733 @ winoros
    docs.pingcap.com/tidb/stable/release-7.5.7
  • 述語簡略化時に Plan Cache がスキップされる問題の修正
    - Fix the issue that Plan Cache is incorrectly skipped with predicate simplification #61513 @ hawkingrei
    docs.pingcap.com/tidb/stable/release-7.5.7
  • lease のデフォルト値の修正
    - Fix the issue that the default value of lease is not correctly set #9156 @ rleungx
    docs.pingcap.com/tidb/stable/release-7.5.7
  • TiFlash のクエリスロットリング問題の修正
    - Fix the issue that missing resource control low token signals lead to query throttling #10137 @ guo-shaoge
    docs.pingcap.com/tidb/stable/release-7.5.7
  • ロールアップクエリでの TiFlash スキーマ不一致エラーの修正
    - Fix the issue that TiFlash might return the Exception: Block schema mismatch error when executing SQL statements containing GROUP BY ... WITH ROLLUP #10110 @ gengliqi
    docs.pingcap.com/tidb/stable/release-7.5.7
  • BRの-fによるテーブルフィルタリング時の存在確認の修正
    - Fix the issue that BR does not check whether the corresponding table exists in the cluster when filtering tables with -f #61592 @ RidRisR
    docs.pingcap.com/tidb/stable/release-7.5.7

整理した内容は AI が作成するため誤っている可能性があり、無保証で提供されます。