[SERVER-16690] All inserts are delayed by 5 sec when mongos wants to auto-split and the first config server is in the TCP blackhole Created: 29/Dec/14  Updated: 20/Nov/15  Resolved: 20/Nov/15

Status: Closed
Project: Core Server
Component/s: Sharding, Stability
Affects Version/s: 2.8.0-rc4
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Alexander Komyagin Assignee: Max Hirschhorn
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File blackhole_first_config_server_from_everyone_and_autosplit.js     HTML File logs     File tester_case.py    
Issue Links:
Duplicate
duplicates SERVER-21531 Shard's connection blocks forever whe... Closed
Related
is related to SERVER-17617 One config server being down can bloc... Closed
Operating System: ALL
Sprint: QuInt B (11/02/15), TIG B (10/30/15), QuInt C (11/23/15)
Participants:

 Description   
  1. start a new cluster with 3 config servers and one shard
  2. create a new sharded collection
  3. do some finds - all are fast (less than a second)
  4. block the first config server with iptables --DROP
  5. create a new connection
  6. try finds on the new and the existing connections - all are fast
  7. try inserts on the new and the existing connections - all are 5s

Test-case in python is attached (uses my own mongo-docker framework). LogLevel 5 logs too.



 Comments   
Comment by Max Hirschhorn [ 20/Nov/15 ]

The scenario described in this ticket now exhibits the same behavior reported in SERVER-21531 when running with SCCC. Closing as a duplicate.

Behavior when running with CSRS

2015-11-20T11:00:38.814-0500 Write operation 1 of 10 took 2 milliseconds
2015-11-20T11:00:38.815-0500 Write operation 2 of 10 took 3 milliseconds
2015-11-20T11:00:38.816-0500 Write operation 3 of 10 took 2 milliseconds
2015-11-20T11:00:38.818-0500 Write operation 4 of 10 took 3 milliseconds
2015-11-20T11:01:08.822-0500 Write operation 5 of 10 took 30005 milliseconds
2015-11-20T11:01:08.850-0500 Write operation 6 of 10 took 29 milliseconds
2015-11-20T11:01:08.854-0500 Write operation 7 of 10 took 4 milliseconds
2015-11-20T11:01:08.856-0500 Write operation 8 of 10 took 2 milliseconds
2015-11-20T11:01:08.860-0500 Write operation 9 of 10 took 4 milliseconds
2015-11-20T11:01:08.862-0500 Write operation 10 of 10 took 2 milliseconds


git version: 0730c6551c12450884228e383da12a923a396e3e

Generated at Thu Feb 08 03:41:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.