فهرست منبع

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