Skip to content

Commit

Permalink
Merge pull request #18291 from jakesmith/HPCC-31269-remote-aks-copy
Browse files Browse the repository at this point in the history
HPCC-31269 Fix roxie meta data copy from k8s bug.

Reviewed-by: Gavin Halliday <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Feb 11, 2024
2 parents abda0ef + 1993090 commit 51e8a91
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions dali/dfu/dfuutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,15 @@ class CFileCloner
// JCSMORE: it may be this can replace the need for the other 'clone*' attributes altogether.
if (srcfdesc->queryProperties().hasProp("_remoteStoragePlane"))
{
attrs.setPropTree("cloneFromFDesc", createPTreeFromIPT(srcTree));
return;
if (srcdali && !srcdali->endpoint().isNull())
{
attrs.setPropTree("cloneFromFDesc", createPTreeFromIPT(srcTree));
StringBuffer host;
attrs.setProp("@cloneFrom", srcdali->endpoint().getEndpointHostText(host).str());
if (prefix.length())
attrs.setProp("@cloneFromPrefix", prefix.get());
return;
}
}

while(attrs.removeProp("cloneFromGroup"));
Expand Down

0 comments on commit 51e8a91

Please sign in to comment.