The Free Space Health check uses common-io library to calculate the size of the index directory, to verify there is enough free space for indexing. Due to a bug in the library, IO-389, this can cause the check to fail if a file is deleted whilst the check is running. We use commons-io 1.4 in the plugin.
Have a large index dir setup
Run the health check
Delete a lucene segment file during the check
The check can continue without problems
An exception is thrown as below:
Browse to Manage add-ons
Expand the Atlassian JIRA - Plugins - Instance Health Plugin / Atlassian Troubleshooting & Support Tools Plugin (this depends on the version of Jira you're using)
Click + next to "n of n modules enabled"
Search for "storageIndexSnapshotHealthCheck"
Mouse-over it and click Disable.
In Jira 7.9.2, I find 'storageIndexSnapshotHealthCheck' under 'Atlassian Troubleshooting and Support Tools' and cannot find an "Atlassian JIRA - Plugins - Instance Health Plugin plugin."
Presumably the plugin name changed, and I do have the correct module, but could you please confirm that?
Hey , thanks for pointing this out - we changed the Jira Instance Health plugin to be the Atlassian Troubleshooting & Support Tools plugin as of Jira 7.4.3 onwards. I've updated the issue accordingly.
This will be fixed when JIRA 8.1 is released, as it will provide a version of commons-io which doesn't have this problem.
This will be fixed when the products upgrade to versions with fixed commons-io libraries, i.e. commons-io 2.5.