Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

LevelDb performance #5630

@xingkong2014

Description

@xingkong2014

dev::GenericTrieDB::at(bytesConstRef _key) queries data in leveldb serveral times, which often takes millionseconds. But sometime it runs so slowly and takes more than 1 second. As a result, BlockChain::sync() may imports a block for more than 20s. So the sync process can not catch up.
Then I tried to upgrade LevelDB to v1.22, but it failed to query data in old data.
I think there is a problem with compatibility.

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