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

couchbase / blance / 2
97%

Build:
DEFAULT BRANCH: master
Ran 05 Dec 2015 07:42PM UTC
Jobs 1
Files 5
Run time 0s
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
2

push

travis-ci

steveyen
nodeSorter sorts by original array position, not by name

If two nodes had the same score, previously, the nodeSorter would
compare by names of the nodes.

With this change, instead the nodeSorter compares by the position of
the nodes in the input nodesAll array.

This allows the application to have more control and flexibility,
where to have the same behavior as before, the application should just
pass in a nodesAll array sorted by node names.

With this change, an advanced application can now pass in a nodesAll
array sorted by how blance should favor the nodes in planning, which
some applications may use to shuffle or rotate the nodesAll amongst
resources within the same cluster to achieve better utilization.

Change-Id: I4f068e394
Reviewed-on: http://review.couchbase.org/57487
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Steve Yen <steve.yen@gmail.com>

8 of 8 new or added lines in 1 file covered. (100.0%)

1134 of 1153 relevant lines covered (98.35%)

577.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2.1 05 Dec 2015 07:42PM UTC 0
98.35
Travis Job 2.1
Source Files on build 2
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #2
  • 8a44cfcd on github
  • Prev Build on master (#1)
  • Next Build on master (#3)
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

© 2025 Coveralls, Inc