Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove literal copy of sync.Mutex from memory store #793

Merged
merged 1 commit into from
Jun 22, 2016

Conversation

gtank
Copy link
Contributor

@gtank gtank commented Jun 17, 2016

Attempted fix of #792. The locks seem to be covered already by the KeyMemoryStore, which is the only place that uses MemoryFileStore.

I think the go vet issue at hand is golang/go#13675 (comment)

@docker-jenkins
Copy link

Can one of the admins verify this patch?

Signed-off-by: George Tankersley <george.tankersley@gmail.com>
@cyli
Copy link
Contributor

cyli commented Jun 22, 2016

jenkins, test this please

@cyli
Copy link
Contributor

cyli commented Jun 22, 2016

Thanks lots for fixing these vetting issues @gtank! Should make it easier to upgrade to 1.7 when it's released. :)

LGTM! I have no problems with this - these are mainly used for testing, and I don't foresee needing multiple KeyMemoryStore accessing the same MemoryFileStore concurrently.

@riyazdf
Copy link
Contributor

riyazdf commented Jun 22, 2016

thank you @gtank, LGTM!

@riyazdf riyazdf merged commit 0517d57 into notaryproject:master Jun 22, 2016
@gtank gtank deleted the memstore-lock-copy branch June 22, 2016 23:27
@riyazdf riyazdf mentioned this pull request Aug 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants