distsql: revisit forward loose scan lookup key construction #39659
Labels
A-sql-execution
Relating to SQL execution.
C-cleanup
Tech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior.
We should:
PrefixEnd
to construct the lookup for the next prefix. We currently append nulls (0xff
) to the key. Make sure that if we encounter a maximal key, sincePrefixEnd
returns that, we exit somehow (either through a validity check or explicit check).0xff
) already.More discussion: https://reviewable.io/reviews/cockroachdb/cockroach/39636#-LmBV-cn9nb-Ey445Chv
The text was updated successfully, but these errors were encountered: