The bug of rocksdb env
- 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
Assessment
This issue has not been assessed yet.