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

Enable incremental updates for process dumping #6522

Open
GeigerJ2 opened this issue Jul 9, 2024 · 0 comments
Open

Enable incremental updates for process dumping #6522

GeigerJ2 opened this issue Jul 9, 2024 · 0 comments

Comments

@GeigerJ2
Copy link
Contributor

GeigerJ2 commented Jul 9, 2024

The current behavior of verdi process dump allows users to dump processes as they are still running. In that case, however, not all files that eventually end up being involved in the process once it's finished are being dumped (obviously). When running the command again when the process is finished, the user needs to use the --overwrite flag to re-create the directory, otherwise the command fails.

It would be nice if, instead, incremental updates would be possible. This is also a feature that will be necessary for the intended verdi profile sync command that allows the user to incrementally dump all data of a profile to disk. It could be achieved either by writing the ProcessState or mtime to a file, and to check against that.

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