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

Remove renaming of older status files with _ suffix #1962

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ankitha-p
Copy link
Member

Older WALA code had the logic to read the status file with highest sequence number. So VMSnapshotLinux extension would rename all other seq# files with _status suffix. But current WALA code reads the status of the currently executing sequence number. Renaming the status files are not needed. Guest agent has logic only to clear .status files not the ones with _status suffix. This means, older files can pile up in the VM as they don't get cleaned up.



# It is possible in certain restore scenarios, where old setting files are present in the config folder
# When new VM is created with same extension, the seq# starts with 0 again.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably better to explain how older setting files are retained in a new VM? I guess you are referring to the case when OS disk is created from a restore point or a snaphost.

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

Successfully merging this pull request may close these issues.

2 participants