https://slatedb.io logo
Not sure if it's intentional or if I am missing so...
# general
m
Not sure if it's intentional or if I am missing something, but it looks like last_key is DbIterator is not being set anywhere. It's supposed to be set in the next() function right
c
Hmmm.. you're right
It's possible this was left there for future work? 🤔
I'm poking around GH to see if I can find anythong
This is peculiar
yea.. it appears this is a bug. We should throw a SlateDBError::InvalidArgument
We have that code block, but no test for it
I suspect if we add a test, it would misbehave
m
okay i believe its an easy fix just fetch kv from result and update last_key
i can fix and add test
c
Thanks! Good catch.
m