Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eos
QuarkDB
Commits
b2910dcc
Commit
b2910dcc
authored
Apr 24, 2019
by
Georgios Bitzes
Browse files
Fix off-by-one in raw-scan-tombstones COUNT option
parent
80f31ff9
Pipeline
#822940
failed with stages
in 32 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/StateMachine.cc
View file @
b2910dcc
...
...
@@ -619,7 +619,7 @@ rocksdb::Status StateMachine::rawScanTombstones(StagingArea &stagingArea, std::s
IteratorPtr
iter
(
stagingArea
.
getIterator
(
true
));
iter
->
Seek
(
key
);
while
(
iter
->
Valid
()
&&
elements
.
size
()
<
=
count
)
{
while
(
iter
->
Valid
()
&&
elements
.
size
()
<
count
)
{
std
::
string_view
currentKey
=
iter
->
key
().
ToStringView
();
if
(
isTombstone
(
currentKey
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment