From dd03ba4614649ff55d55be060bd2bfa69479b7ae Mon Sep 17 00:00:00 2001 From: Miroslav Crnic Date: Tue, 2 Sep 2025 11:59:52 +0000 Subject: [PATCH] shard: fix sysmlinks --- cpp/shard/ShardDB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;