shard: fix sysmlinks

This commit is contained in:
Miroslav Crnic
2025-09-02 11:59:52 +00:00
parent f3f5b4b0e2
commit dd03ba4614

View File

@@ -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<SpanKey> lowerKey;