1
0
Fork 0
tractor/tractor
Tyler Goodlet e2139c2bf0 Don't set `Context._error` to expected `ContextCancelled`
If the one side of an inter-actor context cancels the other then that
side should always expect back a `ContextCancelled` message. However we
should not set this error in this case (where the cancel request was
sent and a `ContextCancelled` msg was received back) since it may
override some other error that caused the cancellation request to be
sent out in the first place. As an example when a context opens another
context to a peer and some error happens which causes the second peer
context to be cancelled but we want to propagate the original error.

Fixes the issue found in https://github.com/pikers/piker/issues/244
2021-12-16 19:59:10 -05:00
..
testing Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
trionics Revert back to avoiding key errors on cancellation 2021-12-16 18:02:03 -05:00
__init__.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_actor.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_child.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_clustering.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_debug.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_discovery.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_entry.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_exceptions.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_forkserver_override.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_ipc.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_mp_fixup_main.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_portal.py Hide the key error tb on remote starting errors 2021-12-16 19:59:10 -05:00
_root.py Add draft code for waiting on all nurseries in root 2021-12-16 18:02:03 -05:00
_spawn.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_state.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_streaming.py Don't set `Context._error` to expected `ContextCancelled` 2021-12-16 19:59:10 -05:00
_supervise.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
log.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
msg.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00