Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

Riak has TTL with bitcask backend #1

Open
phated opened this issue Apr 1, 2014 · 1 comment
Open

Riak has TTL with bitcask backend #1

phated opened this issue Apr 1, 2014 · 1 comment

Comments

@phated
Copy link

phated commented Apr 1, 2014

It seems you are implementing the getIndex against the leveldb backend. Is there a reason that bitcask isn't supported?

@nlf
Copy link
Collaborator

nlf commented Apr 1, 2014

The expiry option for the bitcask backend is a global option, which is somewhat awkward to use and would require this module to completely ignore the ttl option passed in. We went this route to make sure that catbox's ttl option actually has meaning.

Providing an option to disable the gc function and not attempt to store indexes should be easy enough, but this is a tough problem to solve.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants