facebook / facebook/rocksdb

Feature Request: DeleteRange with open range

Open
#9,911 2 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

Would be nice if `DeleteRange` added an overload where begin and/or end are optional which means that it's open ended. Similar to lower/upper bound in the iterator API. I guess open begin could be emulated with `Slice("")`. However, open end is a bit trickier...

Contributor guide

Open the contributing guide

Research direction

Start by locating the DeleteRange API and reviewing the iterator API's lower and upper bound behavior. Compare the existing Slice("") approach for an open beginning with the requested open-ended behavior, then define and test overloads for optional begin and end bounds.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.