-
-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
Labels
Description
Bug report
Describe the bug
The supabase-realtime server does not work with Amazon Aurora PostgreSQL.
To Reproduce
- Change parameters for replications
parameters: {
'rds.logical_replication': '1',
'max_replication_slots': '5',
'max_wal_senders': '10',
'max_logical_replication_workers': '2',
'max_slot_wal_keep_size': '1024',
},
-
Create PostgreSQL Cluster (v14.3)
-
Launch supabase-realtime server and connect DB
-
The following log is displayed
2022-08-02 00:41:28.315 [info] Running RealtimeWeb.Endpoint with cowboy 2.8.0 at :::4000 (http)
2022-08-02 00:41:28.316 [info] Access RealtimeWeb.Endpoint at http://localhost:4000
2022-08-02 00:42:28.341 [error] %RuntimeError{message: "operation :rollback is manually rolling back, which is not supported by Ecto.Multi"}
2022-08-02 00:42:28.377 [error] %Postgrex.Error{connection_id: 16419, message: nil, postgres: %{code: :undefined_object, file: "slot.c", line: "418", message: "replication slot \"realtime_rls\" does not exist", pg_code: "42704", routine: "ReplicationSlotAcquire", severity: "ERROR", unknown: "ERROR"}, query: nil}
Expected behavior
It works well, because it does not rely on extensions.
Screenshots
N/A
System information
- Version of supabase-realtime: v0.22.7
- Version of PostgreSQL: 14.3
Additional context
Add any other context about the problem here.
Reactions are currently unavailable