clockworklabs / clockworklabs/SpacetimeDB

Client cache invariant failure in rust sdk

Open
#2,433 3 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
25.2k
Forks
1.1k
Avg merge
2d 7h
Merged PRs (30d)
46

Description

See discord thread for details.

A user is hitting a client cache invariant check in the rust SDK.

https://github.com/clockworklabs/SpacetimeDB/blob/0dd18070636edbfe26d4cd17af75214808d9fba5/crates/sdk/src/client_cache.rs#L187

This means we are attempting to delete a row from the cache that is not already present in the cache.

Originally this was thought to be a manifestation of #2397, however that only affected join queries, and based on the workload provided in the discord thread, it doesn't appear that join queries are involved.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.