Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rpc] recv: #SatInStartReplicationResp{Error: Cannot catch up to the server's current state} #1300

Open
AntonOfTheWoods opened this issue May 25, 2024 · 1 comment

Comments

@AntonOfTheWoods
Copy link
Contributor

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

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"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant