Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add temporary suffix while Acquire is still running #174

Open
joost-j opened this issue Jun 25, 2024 · 0 comments
Open

Add temporary suffix while Acquire is still running #174

joost-j opened this issue Jun 25, 2024 · 0 comments

Comments

@joost-j
Copy link
Contributor

joost-j commented Jun 25, 2024

During historical engagements, there have been cases where Acquire was deployed to many systems, with all resulting .tar.gz output files being written to a single fileshare. Although the .log file indicates the completion status of the Acquire run, it is hard to assess the status without opening and inspecting this file. As a result, Acquire output files are sometimes copied before the Acquire process has finished, leading to corrupt and/or incomplete output files.

Would it be an idea to add an additional suffix to the output archive/file/directory while Acquire is still running. E.g. start by writing all results to file:

HOSTNAME_20240625102705.tar.gz.running

and once the process has finished with success, rename this file to

HOSTNAME_20240625102705.tar.gz

In this way, it's easier to spot which Acquires have not yet finished and should not be copied. Obviously the .running suffix can be anything, maybe .tmp or .active are more suitable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants