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

CBG-3857 Mark database state of starting more clearly #6743

Merged
merged 3 commits into from
Mar 28, 2024
Merged

Conversation

torcolvin
Copy link
Collaborator

@torcolvin torcolvin commented Mar 25, 2024

This PR only changes the messages of a 503 error.

Put database in starting state, so while it is starting up between getting added to sc.databases_ and StartOnlineProcesses requests will return DB is %v - try again later instead of DB is currently under maintenance. Make sure that in the case of start offline, it will not transition through Starting state.

Pre-review checklist

  • Removed debug logging (fmt.Print, log.Print, ...)
  • Logging sensitive data? Make sure it's tagged (e.g. base.UD(docID), base.MD(dbName))
  • Updated relevant information in the API specifications (such as endpoint descriptions, schemas, ...) in docs/api

Integration Tests

@torcolvin torcolvin changed the title Mark database state of starting more clearly CBG-3857 Mark database state of starting more clearly Mar 26, 2024
@torcolvin torcolvin enabled auto-merge (squash) March 26, 2024 14:34
@torcolvin torcolvin merged commit cac16fb into master Mar 28, 2024
17 checks passed
@torcolvin torcolvin deleted the db-starting branch March 28, 2024 23:17
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