• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

couchbase / cbgt / 145
54%

Build:
DEFAULT BRANCH: master
Ran 25 Feb 2016 06:31PM UTC
Jobs 1
Files 28
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
145

push

travis-ci

steveyen
MB-18334 - skip rebalance orchestration when there's no index defs

The previous change related to MB-18334 exposed a startup race.

It turns out, even when there's just a single node, even starting up
for the very first time, the ns-server will perform an early rebalance
of cbft just to get that single node all nice and initialized (A).

But, it turns out cbauth's db isn't quite ready in those early stages
and/or perhaps when there's just a single node, and that single cbft
node is (unfortunately) not listed in the cbauth's db (B).

Which leads to rebalance failures right at step A.

Unfortunately, cbft/cbgt's rebalance orchestration performs REST based
monitoring to determine rebalance progress and completion, even when
it's just a single node, and those REST status requests will fail when
cbauth's db is incorrect at part B.

So, this change just skips cbft/cbgt's rebalance orchestration when
there's no index defs, which is the case when we're in an
initialization phase and is also fine even in general operation.

Successfully skipping rebalance orchestration, btw, leads to a later
"cleanup phase" where cbft/cbgt's planner will publish the plan One
Last Time, kinda like a safety net.  So, no index defs will still be
re-planned against all nodes, removing pindex assignments from all
nodes.

Change-Id: If951a388c
Reviewed-on: http://review.couchbase.org/60495
Reviewed-by: Marty Schoch <marty.schoch@gmail.com>
Tested-by: Steve Yen <steve.yen@gmail.com>

4666 of 5652 relevant lines covered (82.55%)

6.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 145.1 25 Feb 2016 06:31PM UTC 0
82.55
Travis Job 145.1
Source Files on build 145
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #145
  • 27f71650 on github
  • Prev Build on master (#144)
  • Next Build on master (#146)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc