Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

If a secondary goes down, nodes take a long time to refresh #321

@dblock

Description

@dblock

We had a secondary go down, causing a heartbeat check failure in MongoDB and the following in the MongoDB logs:

Sun Sep 28 13:27:21.905 [rsHealthPoll] couldn't connect to c0.gravity.member4.mongolayer.com:27017: couldn't connect to server c0.gravity.member4.mongolayer.com:27017 

This made our response time 5x slower, taking about 400ms to create a new Moped session. I didn't debug where exactly it was sitting, but I am going to imagine it's not too hard to replicate.

I would expect something a bit more efficient, IMO node rediscovery should not be blocking a request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions