Page MenuHomeSoftware Heritage

Migrate services to use pgbouncer instances
ClosedPublic

Authored by ardumont on Jun 6 2019, 6:35 PM.

Details

Summary
  • Migrate existing services (storage, listers, etc...) to use bouncer (instead of direct db accesses)
  • somerset: Reference the indexer db in somerset's pgbouncer instance
  • Migrate indexer-storage service to use somerset's pgbouncer instance

Related T1784

Test Plan

bin/octocatalog-diff

Diff Detail

Repository
rSPSITE puppet-swh-site
Branch
update_configuration
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 6071
Build 8354: arc lint + arc unit

Event Timeline

ardumont created this revision.Jun 6 2019, 6:35 PM
ardumont planned changes to this revision.Jun 7 2019, 10:50 AM
ardumont added a comment.EditedJun 7 2019, 10:56 AM

I want to make sure of something first in regards to the pgbouncer instances.

I want to make sure of something first in regards to the pgbouncer instances.

Yes, there was a hit and miss adaptations for belvedere, fixed now.

ardumont updated this revision to Diff 5125.Jun 7 2019, 11:05 AM

Use the right ports (secondary cluster) for the belvedere connections

vlorentz accepted this revision.Jun 7 2019, 11:33 AM
This revision is now accepted and ready to land.Jun 7 2019, 11:33 AM
ardumont updated this revision to Diff 5126.Jun 7 2019, 11:37 AM

Plug diff to branch production

This revision was automatically updated to reflect the committed changes.