非常に長いコメントや MySQL移行の問題

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

影響バージョン

This issue was introduced in Crucible 2.0 and fixed in Crucible 2.1.

問題の現象

There is a known issue with Crucible 2.0.x and very long comments when migrating your database to MySQL. In some circumstances, this might result in truncation of very long comments, causing data loss.

Depending on your MySQL configuration, you may see an error message like this while migrating to MySQL, causing the migration to fail:


2009-07-16 16:56:12,390 ERROR [ThreadPool1] fisheye.app com.cenqua.crucible.actions.admin.database.DBEditHelper-doGet -
Database migration failed:
java.sql.BatchUpdateException: Data truncation: Data too long for column 'cru_message' at row 1
java.sql.BatchUpdateException: Data truncation: Data too long for column 'cru_message' at row 1

(info) You may not see the message if you are running MySQL with default settings.

For more information, see the JIRA issue.

回避策

If your data contains very long comments or review descriptions (longer than 21,845 multibyte unicode characters), consider avoiding use of MySQL until you can upgrade the product. Alternatively, use PostgreSQL or the default (built-in) HSQLDB database.

This issue is now resolved. This issue was introduced in Crucible 2.0 and fixed in Crucible 2.1.

サポートを受ける

If you require assistance in resolving the problem, please raise a support request under the Crucible project.

最終更新日: 2010 年 2 月 10 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.