浏览代码

Merge pull request #7143 from afishbeck/roxieForeignFilePath

HPCC-13280 Fix incomplete foreign LFN for roxie cache and remote lookup

Reviewed By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 10 年之前
父节点
当前提交
2197fee884
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      roxie/ccd/ccddali.cpp

+ 4 - 0
roxie/ccd/ccddali.cpp

@@ -494,6 +494,10 @@ public:
             return NULL;
         StringBuffer foreignLfn("foreign::");
         foreignLfn.append(cloneFrom);
+        const char *cloneFromPrefix = fdesc->queryProperties().queryProp("@cloneFromPrefix");
+        if (cloneFromPrefix && *cloneFromPrefix)
+            foreignLfn.append("::").append(cloneFromPrefix);
+        foreignLfn.append("::").append(_lfn);
         if (!connected())
             return resolveCachedLFN(foreignLfn);  // Note - cache only used when no dali connection available
         try