Skip to content

Conversation

@teo-tsirpanis
Copy link
Member

Unlike other forms of deserialization, deserialized queries do keep a reference to the serialized buffer. By pinning the buffer to the query, we ensure that it is kept alive during the query's lifetime.

We pin the user-facing *Buffer pointer; if the buffer is a Go slice, it is being pinned by *Buffer itself.

Contributes to CLOUD-3368.

Unlike other forms of deserialization, deserialized queries do keep a reference to the serialized buffer. By pinning the buffer to the query, we ensure that it is kept alive during the query's lifetime.
We pin the user-facing `*Buffer` pointer; if the buffer is a Go slice, it is being pinned by `*Buffer` itself.
@teo-tsirpanis teo-tsirpanis requested a review from a team as a code owner February 5, 2026 13:34
Copy link
Member

@ypatia ypatia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@teo-tsirpanis teo-tsirpanis merged commit 656934b into TileDB-Inc:master Feb 9, 2026
8 checks passed
@teo-tsirpanis teo-tsirpanis deleted the query-pin-buffer branch February 9, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants