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

socket_timeout support #1231

Closed
fishincat opened this issue Oct 23, 2024 · 2 comments
Closed

socket_timeout support #1231

fishincat opened this issue Oct 23, 2024 · 2 comments
Assignees
Labels
tracked-in-jira Ticket filed in Mongo's Jira system

Comments

@fishincat
Copy link

fishincat commented Oct 23, 2024

Versions/Environment

  1. What version of Rust are you using?
  2. What operating system are you using?
  3. What versions of the driver and its dependencies are you using? (Run
    cargo pkgid mongodb & cargo pkgid bson)
  4. What version of MongoDB are you using? (Check with the MongoDB shell using db.version())
  5. What is your MongoDB topology (standalone, replica set, sharded cluster, serverless)?

Describe the bug

Is there a plan to support the socket_timeout option? Our service has encountered a connection stuck issue. It's nice if this socket_timeout options is enabled and will solve our problem.

@isabelatkinson
Copy link
Contributor

Hi @fishincat, RUST-564 tracks adding support for this option. It is not currently planned, but I will discuss prioritizing this with the team. Feel free to follow that ticket for more updates.

@isabelatkinson isabelatkinson added tracked-in-jira Ticket filed in Mongo's Jira system and removed triage labels Oct 23, 2024
@abr-egn
Copy link
Contributor

abr-egn commented Dec 18, 2024

We've investigated supporting that option and come to the conclusion that for technical reasons (see #1253 for details) it would require much more engineer time than expected; rather than that, we're going to be moving forward with implementing Client-Side Operation Timeout (see RUST-582) in the coming quarters which will cover this as well as a number of other use cases.

@abr-egn abr-egn closed this as completed Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracked-in-jira Ticket filed in Mongo's Jira system
Projects
None yet
Development

No branches or pull requests

3 participants