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

Allow values to be larger than 100K #14

Open
apkar opened this Issue Nov 30, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@apkar
Copy link
Contributor

apkar commented Nov 30, 2018

Document layer stores a field under single key in FDB. So, we are limited by FDB value size (100K). By splitting it across multiple FDB keys we can support bigger fields.

Potential design

DataValue defines the type of value. Other than all the normal types, we also have arrays and objects. We could have another type, ex: SPLIT_VALUE, and this could just piggyback on arrays code. We have to change the code in insert and updates, which assume values are always stored under a single key. Path expansion should not treat split key component as part of the key. So, array expansion rules should be carefully adjusted to work with this.

@apkar apkar added the enhancement label Jan 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment