Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign slice back to out pointer after appends #111

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

ronenh
Copy link
Contributor

@ronenh ronenh commented Dec 6, 2024

ScanWithFilter appends to the array, which could return a new pointer, but it wasn't assigning it back to the out pointer.

@gertd gertd merged commit b8d067d into pool-checks Dec 6, 2024
1 check passed
@gertd gertd deleted the fix/scanwithfilter branch December 6, 2024 23:01
gertd added a commit that referenced this pull request Dec 11, 2024
* rm userset.go (deadcode)

* add ScanX inline value filter

* mv UpdateMetadata to ds

* replace bdb.ErrIsNotFound with status.Code(err) == codes.NotFound

* use proto.Un|Marshal instead of protojson.Un|Marshal

* use azm@cache-inverted-model

* use azm@cache-inverted-model

* use azm@cache-inverted-model

* refactor Scan, ScanWithFilter and KeyPrefixExist

* rm go.mod replace

* rm SessionID

* move cursor up

* Write relations to pre-allocated slices (#110)

* update azm@cache-inverted-model

* upd deps

* go.sum

* Assign slice back to out pointer after appends (#111)

* Use azm@relpool

* Azm with timestamppb.Timestamp pool

* Use go-directory with vtproto

* relpool changes + RelationId refactoring (#113)

* convert keyFilter from string to []byte

* convert azm to use RelationIdentifier

* convert azm to use RelationIdentifier

* upd go-directory@vtproto & azm@relpoot-rid

* go mod tid

* update deps

* Use sync.Pool for relation filter buffers (#114)

* azm with shared relations poo

* sync.Pool for relation filter buffers

* Remove profiling in reader.Check (#115)

* Remove profiling in reader.Check

* Use NewSlicePool from azm/mempool

* upd [email protected] [email protected]

---------

Co-authored-by: Ronen Hilewicz <[email protected]>
Co-authored-by: Ronen Hilewicz <[email protected]>

---------

Co-authored-by: Ronen Hilewicz <[email protected]>
Co-authored-by: Ronen Hilewicz <[email protected]>
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