Closed Bug 1529026 Opened 6 years ago Closed 6 years ago

move verify things to separate stage

Categories

(Socorro :: Antenna, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

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:

  1. The logs are a little weird because the configuration being logged is interrupted with other messages.

  2. 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.

  3. 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.

Grabbing this to do now because I want to use it for the pubsub work.

Assignee: nobody → willkg
Status: NEW → ASSIGNED
Priority: -- → P2

Looks good on stage. Marking this as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: