-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 7.7.4, 7.13.5, 7.19.17
-
Component/s: Search - Indexing
-
33
-
Severity 3 - Minor
-
12
Problem
Erroneous status is displayed on the UI when rebuilding and propagating index in a cluster if journal files are deleted manually. This may prevent admins from proceeding further.
Steps to Reproduce
- Install a Confluence 7.7+ 2-node Datacenter
- Go to node 1 -> Content indexing and perform a rebuild. Wait until it finishes and click Done.
- Shut node 1 down. Delete its system maintenance journal at <confluence-home>/journal/system_maintenance. Start Confluence again.
- Go to node 1 -> Content indexing and perform a rebuild
Expected Results
Reindexing finishes without errors. The UI allow admins to click Done to wrap up the process.
Actual Results
Index is successfully rebuilt in node 1 and propagated to node 2 but erroneous status is displayed. The UI hang at propagation and the Done button is not clickable.
Workaround
Use the following CURL request to acknowledge the reindex completion and restore the UI functionality:
curl -u <USER>:<PASSWORD> -X POST -H 'Content-Type: application/json' http://<NODE-IP>:8090/rest/rebuildindex/latest/job/ack | python -mjson.tool
If you run into any problem running the cURL command, you can execute with a more verbose option:
curl -v -u <USER>:<PASSWORD> -X POST -H 'Content-Type: application/json' http://<NODE-IP>:8090/rest/rebuildindex/latest/job/ack | python -mjson.tool