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
157153: spanset: assert that batches don't access store local and unreplicated RangeID local keys r=iskettaneh a=iskettaneh
This PR adds the following test-only assertions:
1) Generated batches don't touch store-local keys.
2) Generated batches don't touch unreplicated RangeID local keys.
We disable the check in exactly 3 locations we know that we currently
touch those keys.
Fixes: #156537
Release note: None
158065: sql: use new increment when restarting sequence r=bghal a=bghal
Previously, if a sequence were restarted and its increment updated in
the same transaction (command), the old increment would be used to set
the value in KV.
This change corrects the `ALTER` DDL to use the new increment value.
Informs: #142914
Informs: #21564
Epic: CRDB-31283
Release note (sql change): Restarting a sequence with an updated
increment has the expected initial value.
158089: ioctx: add ReaderAtSeekerAdapter for random access support r=sravotto a=sravotto
This commit adds support for adapting context-aware readers that implement ReaderAtCtx and SeekerCtx into the standard io.ReaderAt and io.Seeker interfaces. This is needed for integrating cloud storage readers with libraries that require random access (e.g., Apache Parquet).
The adapter:
- Captures a context at construction time and uses it for all operations
- Validates that the underlying reader actually supports seeking
- Provides io.Reader, io.ReaderAt, io.Seeker, and io.Closer interfaces
- Enables efficient random access to cloud-stored files without buffering
Release note: None
Epic: CRDB-23802
Co-authored-by: iskettaneh <[email protected]>
Co-authored-by: Brendan Gerrity <[email protected]>
Co-authored-by: Silvano Ravotto <[email protected]>
0 commit comments