vyalamar commented on PR #12109:
URL: https://github.com/apache/ozone/pull/12109#issuecomment-7202471516
> > @ChenSammi Thanks for this — great find, and the production tombstone
numbers are very convincing.
> > I had worked on adding native bounds in #10227 earlier as a precursor to
split/parallel iteration (#12154) (spent lot of time trying to understand the
code this year) , but it was auto-closed by the stale bot. It sets both
iterate_lower_bound and iterate_upper_bound (with ManagedReadOptions owning the
ManagedSlices, plus a seek(key < prefix) clamp).
> > Would you be open to reopening and landing the bounds through #10227
(I've already updated its branch against master and would be happy to bring in
your tests with you as co-author)? If you'd prefer to merge #12109 instead,
that's completely fine too — I'll gladly rebase #12154 on top of it.
>
> Hi @vyalamar , yeah, the idea of #10227 is the same. Consider #10227 is
closed for quite a long time, and #12109 has the fresh review context, let's
focus on review and merge #12109 first, then review/merge #12153 in next. What
do you think?
sure @ChenSammi Makes sense to land #12109 first.
Once #12109 merges, I'll sync #12154 on top of `master` so it only adds
`iterate_lower_bound` (plus the `seek(key < prefix)` clamp) and skips the
redundant `startsWithPrefix(key())` check on `VALUE_ONLY` prefix scans when
native `upperBound` is active ( it could save per-row JNI `key()` copies in
`FullDiffSequentialReader` etc ....).
Whenever you get a moment, could you also click "Approve and run" on
#12154's CI workflow so checks have a head start? Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]