Closed aikoven closed 4 years ago
Yikes thats really bad, and supports what I was saying here that we need to either remove the second code path (using strings) or add much more testing for it. Thanks for the report - I'll fix & publish an updated version now.
... The silver lining is that that test code would have crashed in 0.10.3 due to the Assertion failed: (owned == false)
issue. Hopefully 0.10.4 is recent enough that nobody is using non-prefixed databases with string keys in production. (It wouldn't have worked at all with 0.10.3).
📦 foundationdb@0.10.6
Yep, we updated to 0.10.4
because we started to experience these crashes. Haven't pushed it to production.
Thanks for the quick response!
This started happening after updating to
0.10.4
. I narrowed it down to a set of commands in Node REPL:It can be seen that the last byte became
00
.This doesn't happen if I pass
Buffer.from('123')
to theset()
call.