Content indexing UI may show erroneous status of Index propagation if journal files are deleted

XMLWordPrintable

    • 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

      1. Install a Confluence 7.7+ 2-node Datacenter
      2. Go to node 1 -> Content indexing and perform a rebuild. Wait until it finishes and click Done.
      3. Shut node 1 down. Delete its system maintenance journal at <confluence-home>/journal/system_maintenance. Start Confluence again.
      4. 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
      

            Assignee:
            Manonmani Muthukrishnan
            Reporter:
            Nhan Dang
            Votes:
            7 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: