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

Increase provisioning timeouts #229

Merged
merged 1 commit into from
Aug 13, 2022
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
2 changes: 1 addition & 1 deletion oracle/cmd/init_oracle/init_oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (
)

const (
bootstrapTimeout = 19 * time.Minute
bootstrapTimeout = 29 * time.Minute
minRequiredFreeMemInKB = 6 * 1000 * 1000 // At least 6 Gigs is required for consistently successful bootstrapping
)

Expand Down
4 changes: 2 additions & 2 deletions oracle/controllers/instancecontroller/instance_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ type InstanceReconciler struct {

const (
physicalRestore = "PhysicalRestore"
InstanceReadyTimeout = 20 * time.Minute
DatabaseInstanceReadyTimeoutSeeded = 20 * time.Minute
InstanceReadyTimeout = 120 * time.Minute
DatabaseInstanceReadyTimeoutSeeded = 30 * time.Minute
DatabaseInstanceReadyTimeoutUnseeded = 60 * time.Minute // 60 minutes because it can take 50+ minutes to create an unseeded CDB
dateFormat = "20060102"
)
Expand Down
2 changes: 1 addition & 1 deletion oracle/pkg/agents/common/dbdaemonlib.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

var (
// CallTimeout can be set via a flag by the program importing the library.
CallTimeout = 5 * time.Minute
CallTimeout = 15 * time.Minute
)

// withTimeout returns a context with a default timeout if the input context has no timeout.
Expand Down