-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Limit key/value sizes to 1G #158
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
Conversation
|
Review status: 0 of 3 files reviewed at latest revision, 7 unresolved discussions. kv.go, line 756 at r1 (raw file):
maxKeySize, maxValueSize. 1MB, 1GB. kv.go, line 788 at r1 (raw file):
No need to do this at request level. This should be at entry level. kv.go, line 790 at r1 (raw file):
A counter here as well. kv.go, line 793 at r1 (raw file):
Change the way we do Set and SetAsync, and return entry level error as well. kv.go, line 816 at r1 (raw file):
Not any error. Any request level error is passed as an arg. User is expected to still check errors at the Entry level. kv.go, line 818 at r1 (raw file):
18 // SetAsync is the asynchronous version of Set. It accepts a callback function which is called
kv.go, line 820 at r1 (raw file):
Can't do this. Comments from Reviewable |
|
Review status: 0 of 3 files reviewed at latest revision, 7 unresolved discussions. kv.go, line 756 at r1 (raw file): Previously, manishrjain (Manish R Jain) wrote…
Done. kv.go, line 788 at r1 (raw file): Previously, manishrjain (Manish R Jain) wrote…
Done. kv.go, line 790 at r1 (raw file): Previously, manishrjain (Manish R Jain) wrote…
I'm not sure what you mean. Can you clarify? kv.go, line 793 at r1 (raw file): Previously, manishrjain (Manish R Jain) wrote…
Done. kv.go, line 816 at r1 (raw file): Previously, manishrjain (Manish R Jain) wrote…
Done. kv.go, line 818 at r1 (raw file): Previously, manishrjain (Manish R Jain) wrote…
Done. kv.go, line 820 at r1 (raw file): Previously, manishrjain (Manish R Jain) wrote…
Done. Comments from Reviewable |
|
Review status: 0 of 4 files reviewed at latest revision, 7 unresolved discussions. kv.go, line 790 at r1 (raw file): Previously, peterstace (Peter Stace) wrote…
Done. Comments from Reviewable |
|
Reviewed 2 of 3 files at r2, 2 of 2 files at r3. y/metrics.go, line 48 at r3 (raw file):
badger_blocked_puts_total Comments from Reviewable |
|
Review status: 2 of 4 files reviewed at latest revision, 1 unresolved discussion. y/metrics.go, line 48 at r3 (raw file): Previously, manishrjain (Manish R Jain) wrote…
Done. Comments from Reviewable |
Wasn't too sure the best way to integrate checking into the BatchSet operation. I also considered looping over the
entriesat the start ofBatchSet, but then you have to either make multiple calls tosendToWriteCh(for each contiguous chunk of good entries), or rebuild a slice of validated entries and pass tosendToWriteCh. Neither of those options seem too nice.This change is