|
This ticket was resolved as part of PM-1279 and causes operations that do not mutate server side state to early terminate on socket disconnection
|
|
One option for doing this is:
- check for dead sockets via polling for invalid socket file handles
- poll on all socket file handles for health
- get CurOp by dead socket address and kill (mark isKilled:true) where appropriate
|
|
Easiest cases are simple queries and getmore
|
|
@Eric - yes
Lots of edge cases:
- map/reduce
- inline: can abort
- to a named collection: cannot abort
- commands that write things cannot abort
- commands like count can
etc...
|
|
Do you mean when the server sees a socket closed by peer, kill the read op associated with it?
|
Generated at Thu Feb 08 03:10:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.