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

Sqlite: implement withLock from DBLayer #288

Merged
merged 1 commit into from
May 21, 2019

Conversation

rvl
Copy link
Contributor

@rvl rvl commented May 21, 2019

Relates to issue #154.

Overview

This uses an MVar for application-level locking.

It may be possible to implement using SQLite BEGIN EXCLUSIVE TRANSACTION but I would prefer to try and refine the DBLayer interface first. Maybe we can remove withLock.

Uses an MVar for application-level locking.

This may be possible to implement using SQLite BEGIN EXCLUSIVE
TRANSACTION but I would prefer to try and refine the DBLayer interface
first.
@rvl rvl self-assigned this May 21, 2019
@paweljakubas paweljakubas merged commit f4f6a2d into rvl/154/sqlite-checkpoints May 21, 2019
@iohk-bors iohk-bors bot deleted the rvl/154/sqlite-with-lock branch May 21, 2019 06:47
@KtorZ KtorZ removed this from the SQLite implementation for the DB Layer milestone Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants