Browse Source

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 years ago
parent
commit
7358119879
1 changed files with 1 additions and 1 deletions
  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");
     Owned<IPropertyTree> generatedDlls = createPTree("GeneratedDlls");
     ForEach(*iter) {
     ForEach(*iter) {
         IConstWUAssociatedFile & cur = iter->query();
         IConstWUAssociatedFile & cur = iter->query();
-        cur.getName(name);
+        cur.getNameTail(name);
         if (name.length()) {
         if (name.length()) {
             Owned<IDllEntry> entry = queryDllServer().getEntry(name.str());
             Owned<IDllEntry> entry = queryDllServer().getEntry(name.str());
             if (entry.get()) {
             if (entry.get()) {