Skip to content

Incorrect statistics mapping #162

@jonas0616

Description

@jonas0616

After upgrading grocksdb from v1.8.12 to v1.9.3, I noticed that some statistics values appeared abnormal.
For example, I found the value of rocksdb.compact.write.bytes in the LOG file (periodically dumped stats) showed it as 278576274:

$ grep rocksdb.compact.write.bytes LOG
rocksdb.compact.write.bytes COUNT : 0
rocksdb.compact.write.bytes COUNT : 115702019
rocksdb.compact.write.bytes COUNT : 278576274

However, the value retreived using opts.GetTickerCount() remained at 539.
Interestingly, the value for rocksdb.db.iter.bytes.read was exactly 539, leading I to suspect that the statistics might have been incorrectly mapped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions