-
Suggestion
-
Resolution: Unresolved
-
None
-
5
-
Problem Definition
In some cases due to JSWSERVER-16473 Jira ends up with a NULL value in the issuenum column of jiraissue table,
Current schema:
Table "public.jiraissue" Column | Type | Modifiers ----------------------+--------------------------+----------- id | numeric(18,0) | not null pkey | character varying(255) | issuenum | numeric(18,0) | project | numeric(18,0) | ... Indexes: "pk_jiraissue" PRIMARY KEY, btree (id) "issue_assignee" btree (assignee) "issue_created" btree (created) "issue_duedate" btree (duedate) "issue_proj_num" btree (issuenum, project) "issue_proj_status" btree (project, issuestatus) "issue_reporter" btree (reporter) "issue_resolutiondate" btree (resolutiondate) "issue_updated" btree (updated) "issue_votes" btree (votes) "issue_watches" btree (watches) "issue_workflow" btree (workflow_id)
Suggested Solution
Prevent the data consistency problem by adding not null constraint for issuenum column for jiraissue table.
Workaround
None
- is related to
-
JRASERVER-43265 UpgradeTask_Build6132 needs to handle errors better
-
- Closed
-
-
JSWSERVER-16473 Reindex All FAILED - Caused by null issuenum entry in jiraissue table
-
- Closed
-
- mentioned in
-
Page Failed to load
-
Page Failed to load
-
Page Failed to load
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
In my opinion it is a bug that Jira produces such nearly empty lines in jiraissue table and should be treated with a high priority as an critical bug because it can happen every day and keep administrators from reindexing.
The workaround mentioned in
JSWSERVER-16473(to delete the corrupt lines from jiraissue table) is no real solution.We always avoid manual database manipulation because they are “open-heart operations” where you never know whether there are dependent records in other tables and you can get inconsistencies.
So why is
JSWSERVER-16473solved by preventing “Jira from trying to index such corrupted issue entries” instead of solving the real bug (additionally!) which is obviously already known for at least 2,5 years?JRASERVER-69826 is a „suggestion“ to help to find the cause for the bug and has been created more than 2 years ago and still is in status “Gathering interest” which is totally unintelligible in my eyes.
What about the “Atlassian Data Center and Server Bug Fix Policy”?:
“We'll generally fix critical bugs in the next maintenance release”