Revision ed50308d2042bf845a9e8ddba69efb8244b879a0 authored by Andrew Kryczka on 23 February 2017, 18:46:54 UTC, committed by Facebook Github Bot on 23 February 2017, 18:54:10 UTC
Summary:
InsertPathnameToSizeBytes() is called on shared/ and shared_checksum/ directories, which only exist for certain configurations. If we try to list a non-existent directory's contents, some Envs will dump an error message. Let's avoid this by checking whether the directory exists before listing its contents.
Closes https://github.com/facebook/rocksdb/pull/1895

Differential Revision: D4596301

Pulled By: ajkr

fbshipit-source-id: c809679
1 parent 4d7c06c
History
File Mode Size
rocksdb

back to top