Open AntonOfTheWoods opened 1 month ago
Followed by:
electric-sql_pglite.js:3898 resetting client state
I get this using pglite as the client whenever the electric server process is restarted. Apparently this is not supposed to happen with server 0.11.1 and client 0.11.3 (pglite 0.1.5).
pglite
electric
0.11.1
0.11.3
0.1.5
Here are the server logs:
07:59:50.794 pid=<0.4036.0> proxy_session_id=1 [info] Upstream connection is ready to accept queries 07:59:50.907 pid=<0.3047.0> [info] Tzdata has updated the release from 2021e to 2024a 07:59:54.095 pid=<0.3725.0> origin=postgres_1 pg_slot=postgres_1 [info] Starting replication to postgres_1 08:04:04.845 pid=<0.2848.0> [notice] :alarm_handler: {:set, {:system_memory_high_watermark, []}} 08:09:37.506 pid=<0.4052.0> [info] GET /ws 08:09:37.507 pid=<0.4052.0> instance_id=71549107-1591-4aad-8041-736071db7716 [info] Sent 101 in 443µs 08:09:37.513 pid=<0.4052.0> client_id=d3028465-c8e3-402c-8373-681faed35b00 instance_id=71549107-1591-4aad-8041-736071db7716 user_id=293635bd-046b-4a37-be9b-513d1efc721c [info] Successfully authenticated the client 08:09:37.513 pid=<0.4052.0> client_id=d3028465-c8e3-402c-8373-681faed35b00 instance_id=71549107-1591-4aad-8041-736071db7716 user_id=293635bd-046b-4a37-be9b-513d1efc721c [info] Postgres.Client.with_conn(%{database: ~c"postgres", host: ~c"transcrobes-postgresql", ip_addr: ~c"10.43.143.219", ipv6: false, nulls: [nil, :null, :undefined], password: ~c"******", port: 5432, ssl: false, ssl_opts: [server_name_indication: ~c"transcrobes-postgresql"], sslmode: :disable, timeout: 5000, username: ~c"supabase_admin"}) 08:09:51.530 pid=<0.4057.0> [info] GET /ws 08:09:51.530 pid=<0.4057.0> instance_id=71549107-1591-4aad-8041-736071db7716 [info] Sent 101 in 300µs 08:09:51.535 pid=<0.4057.0> client_id=d3028465-c8e3-402c-8373-681faed35b00 instance_id=71549107-1591-4aad-8041-736071db7716 user_id=293635bd-046b-4a37-be9b-513d1efc721c [info] Successfully authenticated the client 08:09:51.535 pid=<0.4057.0> client_id=d3028465-c8e3-402c-8373-681faed35b00 instance_id=71549107-1591-4aad-8041-736071db7716 user_id=293635bd-046b-4a37-be9b-513d1efc721c [info] Postgres.Client.with_conn(%{database: ~c"postgres", host: ~c"transcrobes-postgresql", ip_addr: ~c"10.43.143.219", ipv6: false, nulls: [nil, :null, :undefined], password: ~c"******", port: 5432, ssl: false, ssl_opts: [server_name_indication: ~c"transcrobes-postgresql"], sslmode: :disable, timeout: 5000, username: ~c"supabase_admin"}) 08:09:51.619 pid=<0.4063.0> [info] Postgres.Client.with_conn(%{database: ~c"postgres", host: ~c"transcrobes-postgresql", ip_addr: ~c"10.43.143.219", ipv6: false, nulls: [nil, :null, :undefined], password: ~c"******", port: 5432, ssl: false, ssl_opts: [server_name_indication: ~c"transcrobes-postgresql"], sslmode: :disable, timeout: 5000, username: ~c"supabase_admin"}) 08:09:51.633 pid=<0.4065.0> [info] Postgres.Client.with_conn(%{database: ~c"postgres", host: ~c"transcrobes-postgresql", ip_addr: ~c"10.43.143.219", ipv6: false, nulls: [nil, :null, :undefined], password: ~c"******", port: 5432, ssl: false, ssl_opts: [server_name_indication: ~c"transcrobes-postgresql"], sslmode: :disable, timeout: 5000, username: ~c"supabase_admin"})
VAX-1878 [rpc] recv: #SatInStartReplicationResp{`Error: Cannot catch up to the server's current state`}
Followed by:
I get this using
pglite
as the client whenever theelectric
server process is restarted. Apparently this is not supposed to happen with server0.11.1
and client0.11.3
(pglite
0.1.5
).Here are the server logs: