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

cirello-io / dynamolock / 356 / 1
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 24 Feb 2020 06:54PM UTC
Files 5
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

24 Feb 2020 06:49PM UTC coverage: 97.772% (-0.2%) from 98.005%
GO111MODULE=on AWS_ACCESS_KEY_ID=AKID AWS_SECRET_ACCESS_KEY=SECRET

push

travis-ci

ucirello
dynamolock: prevent locks from being acquired while closing

This commit fixes a race in Client.Close() that potentially allowed for
new locks to be acquired while closing / releasing all locks.

The race occurs when a call to AcquireLock() is in progress when Close()
is called and when AcquireLock() is called while closing, but before we
set Client.closed to true.

Thanks Daniel Gil (lyft) and Charlie Vieth (lyft)

Squashed commit of the following:

commit f50ab31bf
Author: Daniel Gil <danielgil@lyft.com>
Date:   Thu Feb 20 15:54:57 2020 -0500

    Revert go.mod

commit ac4810bba
Author: Daniel Gil <danielgil@lyft.com>
Date:   Thu Feb 20 15:54:29 2020 -0500

    Remove generated .idea

commit 6ec502aad
Author: Daniel Gil <danielgil@lyft.com>
Date:   Thu Feb 20 15:52:53 2020 -0500

    Fix imports

commit 7ac46aa64
Author: Daniel Gil <danielgil@lyft.com>
Date:   Thu Feb 20 15:42:14 2020 -0500

    Add comment on the test

commit 418226353
Author: Daniel Gil <danielgil@lyft.com>
Date:   Thu Feb 20 15:37:34 2020 -0500

    Remove TODOs

commit c4b884be7
Author: Daniel Gil <danielgil@lyft.com>
Date:   Thu Feb 20 15:36:16 2020 -0500

    Make internal releaseLock just exported ReleaseLock without checking for closed

commit 53f7244cb
Author: Daniel Gil <danielgil@lyft.com>
Date:   Thu Feb 20 15:28:04 2020 -0500

    Remove comment from test

commit c07bc1e76
Author: Daniel Gil <danielgil@lyft.com>
Date:   Tue Feb 18 18:47:24 2020 -0500

    Skip lock check

commit 04de43290
Author: Daniel Gil <danielgil@lyft.com>
Date:   Tue Feb 18 18:44:51 2020 -0500

    Use cev client.go

commit d382865bc
Author: Daniel Gil <danielgil@lyft.com>
Date:   Tue Feb 18 1... (continued)

790 of 808 relevant lines covered (97.77%)

1092.84 hits per line

Source Files on job 356.1 (GO111MODULE=on AWS_ACCESS_KEY_ID=AKID AWS_SECRET_ACCESS_KEY=SECRET)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 271
  • Travis Job 356.1
  • ab9e57a6 on github
  • Prev Job for GO111MODULE=on AWS_ACCESS_KEY_ID=AKID AWS_SECRET_ACCESS_KEY=SECRET on master (#355.1)
  • Next Job for GO111MODULE=on AWS_ACCESS_KEY_ID=AKID AWS_SECRET_ACCESS_KEY=SECRET on master (#357.1)
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