Skip to content

UOE-10590: Do not start service if failed to load profileMetaData from DB #823

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

Merged
merged 5 commits into from
Jun 19, 2024

Conversation

AvinashKapre
Copy link
Collaborator

No description provided.

@AvinashKapre AvinashKapre changed the title UOE-10590: Service should not start if failed to load profileMetaData from DB UOE-10590: Do not start service if failed to load profileMetaData from DB Jun 19, 2024
@pm-nilesh-chate pm-nilesh-chate merged commit 6ca62b0 into ci Jun 19, 2024
2 checks passed
@pm-nilesh-chate pm-nilesh-chate deleted the UOE-10590-1 branch June 19, 2024 08:34
glog.Error("Failed to load profileMetaData from DB", err.Error())
} else {
firstdbLoad = false
pmd.failToLoadDBData <- false
Copy link
Collaborator

Choose a reason for hiding this comment

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

pmd.failToLoadDBData <- false will block on second run, as value will not be read from the channel. Send the value on the pmd.failToLoadDBData only on the first run.

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.

5 participants