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

Disallow the insertion of empty keys #17

Closed
andybons opened this issue Jun 3, 2014 · 4 comments
Closed

Disallow the insertion of empty keys #17

andybons opened this issue Jun 3, 2014 · 4 comments
Assignees

Comments

@andybons
Copy link
Contributor

andybons commented Jun 3, 2014

From @Tobstar87:

I'm wondering if we allow empty keys to be inserted. The rockdb handler doesn't handle it very well, it will crash whenever encountering Key("") for anything that's not an insert as it seeks to &start[0] (similarly to my recent bug fix in rocksdb.scan()).
Either we'll have to disallow that key or treat it differently.

@andybons
Copy link
Contributor Author

andybons commented Jun 3, 2014

I think we should disallow the insertion of empty keys.

@spencerkimball

@spencerkimball
Copy link
Member

Agreed. It makes no sense.

@andybons andybons changed the title Check handling of empty keys Disallow the insertion of empty keys Jun 3, 2014
@tbg
Copy link
Member

tbg commented Jun 3, 2014

Also agree.

@andybons
Copy link
Contributor Author

andybons commented Jun 3, 2014

@Tobstar87 wanna tackle this? up to you :) Just assign to yourself if so.

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

No branches or pull requests

3 participants