[SERVER-20137] extend NetworkInterface with startCommandUnpooled Created: 26/Aug/15 Updated: 28/Aug/15 Resolved: 28/Aug/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Adam Midvidy | Assignee: | Adam Midvidy |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
The sharding project needs a way to be able to short circuit the validation logic in the connection hook for a particular invocation of startCommand. We should add a variant of startCommand that always creates a new connection. It should take its own NetworkConnectionHook argument for a per-operation hook. |
| Comments |
| Comment by Adam Midvidy [ 28/Aug/15 ] |
|
That is the current plan. |
| Comment by Andy Schwerin [ 26/Aug/15 ] |
|
Why not use a distinct instance of NetworkInterface for this scenario? |