Skip to content

Invalid ref count during persist #1047

@arv

Description

@arv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions