diff --git a/cpp/shard/ShardDB.cpp b/cpp/shard/ShardDB.cpp index 92a0fa3b..f38dd2c3 100644 --- a/cpp/shard/ShardDB.cpp +++ b/cpp/shard/ShardDB.cpp @@ -704,7 +704,7 @@ struct ShardDBImpl { } EggsError _localFileSpans(rocksdb::ReadOptions& options, const LocalFileSpansReq& req, LocalFileSpansResp& resp) { - if (req.fileId.type() != InodeType::FILE) { + if (req.fileId.type() != InodeType::FILE && req.fileId.type() != InodeType::SYMLINK) { return EggsError::BLOCK_IO_ERROR_FILE; } StaticValue lowerKey;