facebook / facebook/rocksdb

The bug of rocksdb env

Open
#12,151 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

> Note: Please use Issues only for bug reports. For questions, discussions, feature requests, etc. post to dev group: https://groups.google.com/forum/#!forum/rocksdb or https://www.facebook.com/groups/rocksdb.dev

- When writing data through the env provided by rocksdb, `NewWritableFile` is called, but `NewRandomAccessFile` is called at the same time. What is the reason?
- Each `NewWritableFile` will actively release resources after the call is completed, but `NewRandomAccessFile` will wait until all writes are completed before releasing resources. This will cause the `NewRandomAccessFile` function to continuously create read objects when the amount of data written is too large. Memory will continue to increase. Has this bug always existed? Is there any solution?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.