[JAVA-188] Get "WARNING: node down" when executing against a replset with slaveOk set Created: 13/Oct/10  Updated: 29/Oct/10  Resolved: 13/Oct/10

Status: Closed
Project: Java Driver
Component/s: Cluster Management
Affects Version/s: 2.2
Fix Version/s: 2.3

Type: Bug Priority: Major - P3
Reporter: Alvin Richards (Inactive) Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Problem:
Error is issued during execution of operations (insert & query) against a ReplSet when slaveOk is set on the connection.

Oct 13, 2010 2:27:45 AM com.mongodb.ReplicaSetStatus$Node update
WARNING: node down: 10.204.35.142:27000 java.net.SocketTimeoutException: Read timed out

Message is thrown at ReplicaSetStatus.java:156 in a Catch of MongoInternalException

Reproduce:

  • scratch/scaleout/InsertSpeed.java
  • run with "<comma separated node list" scaleout blogs 4 10000 "I:5,Q:5"

Business Case:

  • User experience

-Alvin



 Comments   
Comment by auto [ 13/Oct/10 ]

Author:

{'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: don't master in replica set if its just very busy JAVA-188
http://github.com/mongodb/mongo-java-driver/commit/5b5296f170c4f162efd2c1d9f9111f730c69a16e

Generated at Thu Feb 08 08:51:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.