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

Support for update traits mutation #211

Open
appaquet opened this issue Mar 28, 2020 · 0 comments
Open

Support for update traits mutation #211

appaquet opened this issue Mar 28, 2020 · 0 comments

Comments

@appaquet
Copy link
Owner

appaquet commented Mar 28, 2020

Right now we need to update a trait as whole, leading in inefficiency at network and storage level. Unfortunately, we can't support indexation of update traits mutation since the mutation may not contain one of the indexed field.

We could eventually fetch all traits of an entity at index time, but this would hit indexing performance. The intermediary solution is to do it when we receive the update mutation and generate a second mutation with whole trait. This isn't helping on storage bloating, but compaction will help resolve this issue.

See #212 for compaction of mutations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant