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

xapi-project / sm / 597
47%

Build:
DEFAULT BRANCH: master
Ran 13 Jul 2018 10:56AM UTC
Jobs 1
Files 95
Run time 5s
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
597

push

travis-ci

MarkSymsCtx
CA-292144 Avoid having an invalid leaf while taking a snapshot

After the original leaf has been renamed, td-util is asked to create a
snapshot with the filename it originally had. This means that after
td-util creates the file there is a brief window before it finishes
populating it when an attempt to query it will fail because the file
contents are invalid.

If we instead create the new leaf with a temporary filename
(foo.vhd.new) and rename it afterwards, this window is converted into
one during which the file does not exist, a condition in which a query
attempt will be retried for up to 20 seconds.

If necessary, the window can be shrunk further by using links so that
the old and new names of the original leaf exist simultaneously until it
is time to rename the new leaf into place (this is necessary because
td-util's snapshot function requires the parent to exist and be valid,
otherwise we could just create the snapshot first).

Signed-off-by: Tim Smith <tim.smith@citrix.com>

828 of 6399 branches covered (12.94%)

7017 of 20865 relevant lines covered (33.63%)

0.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 597.1 13 Jul 2018 10:56AM UTC 0
33.63
Travis Job 597.1
Source Files on build 597
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #597
  • f4049e65 on github
  • Prev Build on master (#593)
  • Next Build on master (#603)
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