Skip to content

Conversation

@MozirDmitriy
Copy link
Contributor

  • Assign readOnly: opts.ReadOnly in Open() when constructing freezerdb
  • Without this, calling freezerdb.Freeze() in read-only mode attempts to send on chainFreezer.trigger while the freezer loop isn’t running, causing a permanent block.
  • The change enforces the intended behavior where Freeze() returns errReadOnly under read-only operation, avoiding deadlock and aligning with the function’s guard.

@rjl493456442 rjl493456442 self-assigned this Oct 28, 2025
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

Successfully merging this pull request may close these issues.

2 participants