Skip to content

opts.db to pass durable storage#41

Merged
hackergrrl merged 1 commit into
masterfrom
unknown repository
May 26, 2019
Merged

opts.db to pass durable storage#41
hackergrrl merged 1 commit into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented May 26, 2019

Copy link
Copy Markdown

This patch makes it possible to use durable storage from a levelup or leveldown instance as opts.db instead of always using memdb.

@hackergrrl

Copy link
Copy Markdown
Member

Yes! Awesome. This is a great stepping stone toward having durable storage for the various cabal clients too. I used memdb originally because kappa view didn't yet have versioning support, but that got implemented months ago.

@hackergrrl hackergrrl merged commit c79a39c into cabal-club:master May 26, 2019
@hackergrrl

Copy link
Copy Markdown
Member

5.1.0

@hackergrrl

hackergrrl commented May 26, 2019

Copy link
Copy Markdown
Member

Ah, this is actually BREAKING for clients that use the unofficial cabal.db.ready() API. :D

@nikolaiwarner cc ^^

@nikolaiwarner

Copy link
Copy Markdown
Member

@noffle Let me know what I need to change and I'll patch up all the clients!

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.

2 participants