N1QL query panel becomes inaccessible when indexer rebalance is going on

Description

Steps to reproduce:

1) Create a 4 node cluster : 1 kv, 2 indexer, 1 n1ql

2) Create multiple secondary indexes.

3) Remove one of the indexer nodes and start rebalance.

4) While step 3 is in progress, run "CREATE INDEX index_name ON default(age) USING GSI WITH {'defer_build': True};" from the n1ql node, they will keep failing with "Unexpected server error"(which is expected).

5) Continue running the create index commands from the n1ql query panel, after some attempts query panel becomes inaccessible with "no query nodes were found on this cluster, so N1QL querying is not possible" message.

However a browser refresh fixes the issue and restores the query panel.

Will attach logs.

Components

Affects versions

Fix versions

Labels

Environment

5.0.0-2000

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Attachments

7
  • 20 Feb 2017, 05:07 AM
  • 20 Feb 2017, 05:07 AM
  • 20 Feb 2017, 05:07 AM
  • 20 Feb 2017, 05:07 AM
  • 19 Feb 2017, 06:22 AM
  • 18 Feb 2017, 03:04 PM
  • 18 Feb 2017, 03:04 PM

Activity

Show:

Balakumaran Gopal May 10, 2017 at 5:40 AM

Validate this on Enterprise Edition 5.0.0 build 2824 by creating index/querying while GSI rebalance is running. Worked fine.

Sitaram Vemulapalli February 22, 2017 at 12:32 AM

Sitaram Vemulapalli February 22, 2017 at 12:29 AM
Edited

John Liang February 21, 2017 at 10:34 PM

Bala, if you want to test create index during rebalance, use cbs-shell for now.

John Liang February 21, 2017 at 10:30 PM

Looks like same issue as https://couchbasecloud.atlassian.net/browse/MB-22847. You don't need rebalancing to trigger this.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Balakumaran Gopal

Reporter

Is this a Regression?

Unknown

Triage

Untriaged

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created February 18, 2017 at 3:05 PM
Updated May 10, 2017 at 5:40 AM
Resolved February 22, 2017 at 12:32 AM
Instabug