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

Removed DC initialization code which creates multiple lock files. #419

Merged
merged 2 commits into from
Jun 29, 2023

Conversation

HarshGandhi-AWS
Copy link
Contributor

Motivation

Modifications

Change summary

Device Client uses a lock files for making sure only 1 instance of Device Client is running at a given time. With Fleet Provisioning feature enabled, DC was accidentally creating multiple lock files which was resulting in DC abort. By updating the logic, DC will now only create one lock file as expected.

Revision diff summary

If there is more than one revision, please explain what has been changed since the last revision.

Testing

Is your change tested? If not, please justify the reason.
Please list your testing steps and test results.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Device Client uses a lock files for making sure only 1 instance of Device Client is running at a given time. With Fleet Provisioning feature enabled, DC was accidentally creating multiple lock files which was resulting in DC abort. By updating the logic, DC will now only create one lock file as expected.
@HarshGandhi-AWS HarshGandhi-AWS merged commit a0d1cf4 into main Jun 29, 2023
@HarshGandhi-AWS HarshGandhi-AWS deleted the DCinitializationLogicUpdate branch June 29, 2023 23:49
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.

3 participants