Skip to content

[BUG] Reserved quota locks up storage nodes #1251

@benbierens

Description

@benbierens

Seen in testnet of v0.2.3.

After several days of successful running, the testnet has stopped filling new contracts. Examining the trace of a storage contract and logs from the nodes involved, we find this:

  • The nodes successfully reserved a slot
  • The nodes begin downloading
  • The download failed: Storing the block would exceed the quota limit.

Typical quota values logged by this error message:

Used:        33387095674 (31GB)
reserved:    71839629312 (67GB)
limit:      105226698752 (98GB)

This shows that roughly 2/3 of the capacity of the node is used by reservations. This is true at a moment where the testnet is "quiet": There are no new/pending storage contracts.

This suggest that there is a possible flow of the sales module that does not properly clean up reservations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    MarketplaceSee https://miro.com/app/board/uXjVNZ03E-c=/ for detailsbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions