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

Enhance large scale mc-infra provisioning stability #1874

Merged
merged 3 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/core/common/label/label.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ func CreateOrUpdateLabel(labelType, uid string, resourceKey string, labels map[s
log.Error().Err(err).Msg("failed to get label data from kvstore")
}

log.Debug().Str("labelData", string(labelData)).Msg("Fetched label data")
// log.Debug().Str("labelData", string(labelData)).Msg("Fetched label data")

if len(labelData) == 0 {
log.Debug().Msg("labelData is empty")
}
// if len(labelData) == 0 {
// log.Debug().Msg("labelData is empty")
// }
var labelInfo model.LabelInfo

if err == nil && len(labelData) > 0 {
Expand Down
2 changes: 1 addition & 1 deletion src/core/infra/control.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ func ControlMciAsync(nsId string, mciId string, action string, force bool) error
wg.Add(1)

// Avoid concurrent requests to CSP.
time.Sleep(time.Duration(3) * time.Second)
time.Sleep(time.Millisecond * 1000)

go ControlVmAsync(&wg, nsId, mciId, vmId, action, results)
}
Expand Down
Loading