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

Rust client SDK: implement multiplicity counting #2273

Closed
gefjon opened this issue Feb 18, 2025 · 1 comment
Closed

Rust client SDK: implement multiplicity counting #2273

gefjon opened this issue Feb 18, 2025 · 1 comment
Assignees

Comments

@gefjon
Copy link
Contributor

gefjon commented Feb 18, 2025

Alongside each row in the client cache, store a refcount. Fire insert/delete events only on the edge between 0 and 1.

Definition of Done: it is possible to subscribe to two queries which have at least one row contained in both of them. That shared row is shown to client cache queries as if it was present once, as in, the client cache remains set semantic. After unsubscribing from one query, the row remains present because it is still referenced by the other query.

@joshua-spacetime
Copy link
Collaborator

Closed by #2286

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

No branches or pull requests

3 participants