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

couchbase / moss / 258
83%

Build:
DEFAULT BRANCH: master
Ran 22 Jun 2017 10:17PM UTC
Jobs 1
Files 23
Run time 2min
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
258

push

travis-ci

abhinavdangeti
<a href="https://github.com/couchbase/moss/commit/<a class=hub.com/couchbase/moss/commit/9fdd76410d2ca8d75ca00387f3c83a3c3a1eb621">9fdd76410<a href="https://github.com/couchbase/moss/commit/9fdd76410d2ca8d75ca00387f3c83a3c3a1eb621">&quot;&gt;MB-24990: Prevent lock inversion during stats &amp;amp; file removal

Deadlock caused when:
Stats go routine:
================
moss.(*FileRef).FetchRefCount+0x38 file.go:134
moss.(*Store).allFiles+0x88e store.go:343
 (Has the store lock tries to grab FileRef lock)

File Removal go routine
================:
 moss.(*Store).removeFileOnClose.func1+0x68 store.go:315
 moss.(*FileRef).DecRef+0x12b file.go:109
 moss.(*mmapRef).DecRef+0xee mmap.go:55
 moss.SegmentLocs.DecRef+0xc9 store_api.go:188
 moss.(*Footer).DecRef+0x79 store_footer.go:368
 moss.(*Footer).Close+0x2a store_footer.go:352
 (Has the FileRef lock and tries to grab store lock)

Change-Id: I</a><a class="double-link" href="https://github.com/couchbase/moss/commit/<a class="double-link" href="https://github.com/couchbase/moss/commit/772dd292bac4e3b7f821e08aceea5a9e6a494697">772dd292b</a>">772dd292b</a><a href="https://github.com/couchbase/moss/commit/9fdd76410d2ca8d75ca00387f3c83a3c3a1eb621">
Reviewed-on: http://review.couchbase.org/79909
Well-Formed: Build Bot &lt;build@couchbase.com&gt;
Reviewed-by: Steve Yen &lt;steve.yen@gmail.com&gt;
Reviewed-by: abhinav dangeti &lt;abhinav@couchbase.com>
Tested-by: abhinav dangeti <abhinav@couchbase.com>

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

3027 of 3679 relevant lines covered (82.28%)

100583.3 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
store_footer.go
2
100.0
collection.go
6
100.0
segment.go
Jobs
ID Job ID Ran Files Coverage
1 258.1 22 Jun 2017 10:17PM UTC 0
82.28
Travis Job 258.1
Source Files on build 258
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #258
  • 9fdd7641 on github
  • Prev Build on master (#257)
  • Next Build on master (#259)
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