move verify things to separate stage
Categories
(Socorro :: Antenna, task, P2)
Tracking
(Not tracked)
People
(Reporter: willkg, Assigned: willkg)
Details
Attachments
(1 file)
When Antenna is starting up, it verifies various things as components are instantiated. For example, it'll HEAD the S3 bucket when the S3CrashStorage and Connection instances are instantiated.
This has a couple of problems:
-
The logs are a little weird because the configuration being logged is interrupted with other messages.
-
We're adding additional verification code and it'd be better to have this all happen at the same time as a group rather than haphazardly. It'd be easier to debug in the logs.
-
Verification should be a first-class step in starting up.
Thus, I think we should change it so that all verification should happen after things are instantiated but before the server starts accepting connections. Maybe we could use the HeartbeatManager and hooks for this?
This bug covers that work.
| Assignee | ||
Comment 1•6 years ago
|
||
Grabbing this to do now because I want to use it for the pubsub work.
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
Looks good on stage. Marking this as FIXED.
Description
•