You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sstable: clean up and document maximum handle lengths
This commit removes the +1 from valblk.HandleMaxLen. The code treats the handle
as the data after the valuePrefix byte, noninclusive of the byte. The assertion
that blockHandleLikelyMaxLen is large enough now incorporates the +1 of the
valuePrefix byte explicitly. This was the only usage the depended on
HandleMaxLen being inclusive of the valuePrefix byte.
Additionally, this commit documents blockHandleMaxLenWithoutProperties and adds
an assertion that blockHandleLikelyMaxLen is larger than the length of an
inline blob value handle (blob.MaxInlineHandleLength) plus the valuePrefix
byte.
0 commit comments