Skip to content

Return deleted entry with ErrKeyDeleted #1866

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

matthewdevenny
Copy link
Contributor

If the latest KV entry is a Deleted entry return the deleted entry with an ErrKeyDeleted error rather than returning nil.

Signed-off-by: Matthew DeVenny <[email protected]>
Signed-off-by: Matthew DeVenny <[email protected]>
@coveralls
Copy link

Coverage Status

coverage: 84.736% (+0.03%) from 84.705%
when pulling db5fdc0 on matthewdevenny:return-deleted-entry
into d1cdbf5 on nats-io:main.

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

Successfully merging this pull request may close these issues.

2 participants