GithubHelp home page GithubHelp logo

Comments (6)

larskanis avatar larskanis commented on August 13, 2024 1

Doesn't happen that often, but in this case I was just waiting for a confirmation in order to make a release.

from ruby-pg.

larskanis avatar larskanis commented on August 13, 2024

The blog post is almost one year old, until this issue is raised here in the issue tracker. 😄
Nevertheless I propose a fix in #559 . Would you mind to test it out?

from ruby-pg.

bnferguson avatar bnferguson commented on August 13, 2024

Oh how timely is this?! I've been seeing a similar and related issue with a few setups (eg Nutanix, Aurora, EDB) where a failover where the server doesn't go away (just disconnects clients) or goes and comes back causes issues due to reconnecting to the old IP. This has caused a few outages as all other services (mostly Golang) seem to pick up on the change, while Ruby based ones stuck on the old IP.

I had a patch that's basically a simplified version of what that blog post lays out but while seeing about some upstream fixes found this issue and the PR! 🎉

@larskanis I tested your PR with my test setup I'd been using to dig into this problem and it fixes the issue completely. I'll comment over on the PR with more test details!

from ruby-pg.

larskanis avatar larskanis commented on August 13, 2024

pg-1.5.6 is released, fixing this issue. 🎉

from ruby-pg.

bnferguson avatar bnferguson commented on August 13, 2024

Oh wow! That was so fast! Even got in before my release deadline today! 😂

Thank you so much!

from ruby-pg.

gagalago avatar gagalago commented on August 13, 2024

thank you all

and sorry for the late reply

from ruby-pg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.