Repository navigation
feat: add MySQL 8.4 storage backend - #22
Merged
Merged
Conversation
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MySQL 8.4 儲存 adapter 現可在既有且完全空白的 database 首次啟動時自動建立 schema,後續啟動驗證版本與結構;建表中斷時只在已建立的表通過檢查後續跑。Claim 使用資料庫唯一約束與交易維持併發正確性。MySQL 密碼可在
storage.yml直接設定,或使用${ENV_VAR};防濫用密鑰仍由環境變數提供,錯誤訊息不回顯密碼。此 PR 加入 MySQL 8.4 的 CI 整合測試、設定與復原文件,並保留 SQLite 與 Java 8 相容性。JSON、SQLite 與 MySQL 之間的資料搬移不在此範圍。
驗證:使用隔離的 MySQL 8.4.11,Java 8 與 Java 11 的
check shadowJar均通過;共 203 項測試通過,涵蓋共用儲存契約、首次初始化/中斷續跑、雙實例競爭 Claim、連線池耗盡與兩種密碼設定。真人玩家操作依既定計畫留待發行前集中驗收。Closes #6