facebook / rocksdb

A library that provides an embeddable, persistent key-value store for fast storage.
http://rocksdb.org
GNU General Public License v2.0
27.9k stars 6.21k forks source link

Remove close when fd == -1. #12732

Closed aclamk closed 1 month ago

aclamk commented 1 month ago

Its polluting my valgrind runs: ==3733139== Warning: invalid file descriptor -1 in syscall close() ==3733139== Warning: invalid file descriptor -1 in syscall close() ==3733139== Warning: invalid file descriptor -1 in syscall close()

facebook-github-bot commented 1 month ago

@ajkr has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 1 month ago

@ajkr merged this pull request in facebook/rocksdb@a211e065520b80a2a5a28a795aae1a71e1b139dc.