Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-31805

Index information is not updated on UI when some of the index nodes are not responsive



    • Untriaged
    • Unknown


      Steps to repro:

      a. Setup a cluster with 2 KV+Query and 3 indexer nodes

      b. Load sample buckets and create indexes

      c. Stop one of the indexer service

      d. Create a new index


      The newly created index is not seen on the UI. The issue can also be seen with the following steps:

      a. Setup a cluster with 2 KV+Query and 3 indexer nodes

      b. Load sample buckets and create indexes

      c. Stop all the 3 indexer nodes

      d. Bring back 2 of the indexer nodes

      e. The UI does not show any indexes


      The reason behind such an inconsistency is because, the "getIndexStatus" request will collect index information from all the nodes and if there is a failed node in the quorum, it will return the HTTP response as "500-Internal server error" along with the list of indexes from active nodes. Also the "code" field in response JSON set to "error". Because of this, the UI is not updating the information although response contains indexes from active indexer nodes.


      Ideally, the expectation is that UI shows the indexes that are currently available and also show a warning like "the index information shown is not complete as some index nodes are not responsive"


        1. Screenshot 2019-09-30 at 3.43.48 PM.png
          444 kB
          Ramalingam Kalyanasundaram [X]
        2. Screenshot 2019-09-30 at 3.43.58 PM.png
          485 kB
          Ramalingam Kalyanasundaram [X]
        3. Screenshot 2019-09-30 at 3.44.34 PM.png
          480 kB
          Ramalingam Kalyanasundaram [X]
        4. Screenshot 2019-09-30 at 3.45.37 PM.png
          443 kB
          Ramalingam Kalyanasundaram [X]
        5. Screenshot 2019-09-30 at 3.45.49 PM.png
          507 kB
          Ramalingam Kalyanasundaram [X]

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.



              pavel Pavel Blagodov
              varun.velamuri Varun Velamuri
              0 Vote for this issue
              7 Start watching this issue



                Gerrit Reviews

                  There are no open Gerrit changes