rocksdb
rocksdb copied to clipboard
The bug of rocksdb env
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, butNewRandomAccessFile
is called at the same time. What is the reason? - Each
NewWritableFile
will actively release resources after the call is completed, butNewRandomAccessFile
will wait until all writes are completed before releasing resources. This will cause theNewRandomAccessFile
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?
Can you provide a code pointer for this bug you were referring to? I didn't find where we are doing this in our code base.