During the upgrade from version 7.2.7 to 8.20.0(7.2.7 -> 7.3.0 -> 7.13.0 -> 8.0.0 -> 8.5.0 -> 8.20.0), I successfully executed the reindex at each step. However, after updating to 8.20.0, the reindex failure. Upon inspecting the database collation using JIRA's Troubleshooting and Support tools, I identified collation issue, Before changing the collation, the reindex process would 99%, but ultimately fail, I processed to update the database collation, and during the reindex, I observed ERROR message in the Atlassian logs.
Could someone please advise if there are any issues with these actions?
Hi @Wayne SW ,
Changing the database collation can significantly impact JIRA, especially considering its heavy reliance on the database for functionality. If you're using MS SQL, here are some crucial aspects to consider:
Compatibility: Ensure that your database version aligns with your JIRA version to guarantee compatibility and optimal performance.
Supported platforms
Supported Collation: It's essential to verify that the new collation, in this case, 'Chinese_Taiwan_Stroke_CI_AS' and 'Latin1_Gene', is compatible with JIRA's requirements. Different collations can affect data storage and comparison methods, potentially causing issues if incompatible. Atlassian's documented supported collations include 'SQL_Latin1_General_CP437_CI_AI' and 'Latin1_General_CI_AI'.
Connecting Jira applications to SQL Server 2019
Impact of Collation Change: Altering the collation can directly affect stored data, especially characters that might not be supported in the new collation. Mishandling this change could lead to data loss or corruption.
For more details you can follow below article:
Also, if you feel my input help you please accept the answer.
Regards,
Bhushan
Thank @BHUSHAN PATIL for the reference to the provided article. I noticed a mistake in my previous title; indeed, the collation was change to Latin1_General_CI_AI.
Before the upgrade, I used JIRA version 7.2.7. Although collation issue occurred, they seemed not to impact usage, so I overlooked them. As described in my question, I could perform reindexing successfully before upgrading to 8.20.0, but it became failed after the upgrade. Honestly, I still don't know the reason for the reindexing failure.
Could you assist me with understanding this issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Wayne SW ,
According to error in attached screenshot is not really the whole re-index failing, it is reporting a single error for some issues due to customfield_19780. The rest of your issues are absolutely fine. It has only failed for that one custom field on the issues.
for this there are multiple causes for this issue.
Could you please confirm the type of custom field associated with 'customfield_19780'? or refer Reindexing fails with expected exactly 2 rows error in Jira server
Regards,
Bhushan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.