-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
Fully Compatible
-
ALL
-
-
QuInt C (11/23/15)
-
0
The kHangUp state is checked only when a request is received on the source connection by the bridge. A request with the await data flag set would block until the destination has something to reply with. During that time, if the bridge has been reconfigured to close connections from the host of the source connection, then it shouldn't forward the response. Proposal is to check for the kHangUp state after receiving a response on the dest connection and close the source connection.
The following sequence of events would trigger spurious failures in no_chaining.js:
- Node 2 sends a getMore request to node 0.
- The bridge corresponding to node 0 is configured to close connections when it receives a request from node 2.
- The client performs the insert.
- Node 0 sends a response to node 2's getMore request.
- The bridge corresponding to node 0 forwards the response to node 2. (Node 2 is now synced.)
- Node 2 sends another getMore request to node 0.
- The bridge corresponding to node 0 closes the connection to node 2.