浏览代码

HPCC-9146 - Archiving failing to archive generated dlls

A bug introduced long ago, was causing archiveWorkUnit to fail
to archive both the Dali Generateddll entries and the associated
physical files.
As a consequence Dali has been filling up with orphaned/old
GeneratedDll entries, which overtime has degraded performance

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Jake Smith 12 年之前
父节点
当前提交
7358119879
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      common/workunit/workunit.cpp

+ 1 - 1
common/workunit/workunit.cpp

@@ -2840,7 +2840,7 @@ bool CLocalWorkUnit::archiveWorkUnit(const char *base,bool del,bool ignoredllerr
     Owned<IPropertyTree> generatedDlls = createPTree("GeneratedDlls");
     ForEach(*iter) {
         IConstWUAssociatedFile & cur = iter->query();
-        cur.getName(name);
+        cur.getNameTail(name);
         if (name.length()) {
             Owned<IDllEntry> entry = queryDllServer().getEntry(name.str());
             if (entry.get()) {