Skip to content

inflight_keys for GET_BLOCK may become dangle when GetBlockTxn is discarded after an extremely long timeout. #1138

Open
@yangzhe1990

Description

@yangzhe1990

The direct cause is that GetBlockTxn's on_removed() methods does nothing. A deeper reason is the management of inflight_keys of GET_BLOCK, which is shared by GetBlocks/GetCompactBlocks/GetBlockTxn.

Metadata

Metadata

Labels

P3Low PriorityenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions