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

swiftstack / container-crawler / 176
89%

Build:
DEFAULT BRANCH: master
Ran 17 Jan 2019 11:34PM UTC
Jobs 1
Files 5
Run time 3s
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
176

push

travis-ci

timuralp
Add support for crawling sharded containers (#26)

Add support for crawling sharded containers.

Previously, sharded containers could not be processed by the container
crawler, as it did not know where the shard databases are located. This
change allows container crawler to properly handle such containers by
finding all of the shards.

The patch checks for sharded containers in two different ways.  If the 
container database is local to the node, the container broker is used to
get the container metadata and thus the shard status. This does not 
require any HTTP requests to Swift services.

There could be a scenario where a shard of a container might not be
stored on the same node as the root container, which would mean that on
that particular node we would never get the broker of the root
container.  For this particular case, we use Swift's `internal_client`
to get the container metadata and check the shard status. If a container
is sharded, we will send an account listing request.

In the future, we will consider writing down the sharded state of a
container to limit the account server queries.

113 of 128 branches covered (88.28%)

Branch coverage included in aggregate %.

296 of 327 relevant lines covered (90.52%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 176.1 17 Jan 2019 11:34PM UTC 0
89.89
Travis Job 176.1
Source Files on build 176
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #176
  • ad1b746b on github
  • Prev Build on master (#171)
  • Next Build on master (#177)
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