neondatabase / neon

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.
https://neon.tech
Apache License 2.0
14.78k stars 430 forks source link

[Logical replication] Test for lost connections #6182

Closed vadim2404 closed 9 months ago

vadim2404 commented 10 months ago

from @danieltprice:

I believe a lost connection to a destination or an abandoned publication could result in a slot accumulating data and eventually hitting storage limits.

Details in the thread: https://neondb.slack.com/archives/C026T7K2YP9/p1702813041997959

vadim2404 commented 10 months ago

@knizhnik will create such a test

cc @kelvich

kelvich commented 10 months ago

i think we can close this one. thread was about smoke testing, issue name is somewhat not related to the thread. we could have a similar tests in nightly benchmarks, but proper LR testing setup is a different story