-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.1.7
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
Repl 2019-01-28, Repl 2019-02-11
-
35
Seen rarely, the first assert in this block fails, because the number of available connections to the removed secondary is 0, not 1:
assert.eq(1, primary.adminCommand({connPoolStats: 1}).hosts[memberHost].available); assert.commandWorked(primary.adminCommand({dropConnections: 1, hostAndPort: [memberHost]})); assert.eq(0, primary.adminCommand({connPoolStats: 1}).hosts[memberHost].available);
- is caused by
-
SERVER-36416 Add a dropConnections administrative command
- Closed