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

Invalid ref count during persist #1047

Open
arv opened this issue Apr 12, 2023 · 1 comment
Open

Invalid ref count during persist #1047

arv opened this issue Apr 12, 2023 · 1 comment

Comments

@arv
Copy link
Contributor

arv commented Apr 12, 2023

https://discord.com/channels/830183651022471199/1095424613284065330/1095424613284065330

We are hitting this assert:

const oldCount = this._refCounts.get(refHash);
...
assert(oldCount > 0);

This is in some old code dealing with the in memory cache and the error happens during persist.

We've made significant change to both the on memory cache and to persist so it is possible this assert no longer fails.

@arv
Copy link
Contributor Author

arv commented Apr 12, 2023

Most likely fixed by rocicorp/mono@4378df2f

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

1 participant