Page MenuHomeDevCentral

Switch to specialized Sentry PostgreSQL and wal2json Docker image
ClosedPublic

Authored by dereckson on Mar 8 2023, 23:47.
Tags
None
Referenced Files
F7588324: D2865.id7304.diff
Tue, Apr 29, 07:03
F7587776: D2865.id7299.diff
Tue, Apr 29, 06:50
F7584030: D2865.id7302.diff
Tue, Apr 29, 05:28
F7576190: D2865.id7298.diff
Tue, Apr 29, 01:52
F7575219: D2865.id7299.diff
Tue, Apr 29, 01:20
F7565144: D2865.id7298.diff
Mon, Apr 28, 21:09
F7547679: D2865.id7302.diff
Mon, Apr 28, 13:42
F7538298: D2865.id7298.diff
Mon, Apr 28, 10:10
Subscribers
None

Details

Summary

Sentry requires a custom version of the extension wal2json
for the Change Data Capture (CDC) toolkit.

The Docker installer of Sentry hosted environment uses the Docker library
image, runs a container to get the curl command, then copies the file first
to the data volume, then to the expected PostgreSQL lib directory. Ouf!

Instead, this change uses a small image with wal2json.so directly saved
in the right expected PostgreSQL lib directory. This is provided by the
nasqueron/postgres-sentry image on Docker Hub, rDPGSENTRY here.

Ref T1791

Test Plan

Deploy on docker-002

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
docker-sentry-postgres
Build Status
Buildable 4520
Build 4787: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson edited the test plan for this revision. (Show Details)

Drop pg_hba.conf provisionning: /var/lib/postgresql/data must be empty to allow PostgreSQL initializing it.

This revision is now accepted and ready to land.Mar 9 2023, 01:53