Std.File,Copy ForcePush := TRUE
I am trying to use Std.File.Copy to copy a file across different environments. I want to use ForcePush := TRUE, as opposed to pulling. I can't find an example of this that shows how the other parameters should change (like does sourceDali become targetDali?) and my tests have failed. Can someone provide an example or explanation, please?
- janet.anderson
- Posts: 39
- Joined: Wed Jul 17, 2013 5:31 pm
Janet,
I spoke with the developer now responsible for this function, who said that this is either a bug or has never worked.
Please report this in JIRA, so you can follow the progress.
HTH,
Richard
I spoke with the developer now responsible for this function, who said that this is either a bug or has never worked.
Please report this in JIRA, so you can follow the progress.
HTH,
Richard
- rtaylor
- Community Advisory Board Member
- Posts: 1573
- Joined: Wed Oct 26, 2011 7:40 pm
Pushing logical files to another environment isn't supported.
To copy logical files between environments, the copy commands must be run on the target environment, and point to the source Dali where the source logical file resides.
The 'forcePush' is not related to logical file copies between environment, but rather how physical files are copied/sprayed/desprayed within an environment.
It's really an implementation detail, and should not be used. It determines (within an environment) whether the processes involved in a copy, are run on the source nodes, or the target nodes, and therefore whether they are reading or writing(pushing).
Hope that helps.
To copy logical files between environments, the copy commands must be run on the target environment, and point to the source Dali where the source logical file resides.
The 'forcePush' is not related to logical file copies between environment, but rather how physical files are copied/sprayed/desprayed within an environment.
It's really an implementation detail, and should not be used. It determines (within an environment) whether the processes involved in a copy, are run on the source nodes, or the target nodes, and therefore whether they are reading or writing(pushing).
Hope that helps.
- jsmith
- Community Advisory Board Member
- Posts: 78
- Joined: Tue Jul 19, 2011 12:58 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest