| Previous | Next |
| STATUS_VRF_CFG_ENABLED | STATUS_EXTERNAL_SYSKEY_NOT_SUPPORTED |
STATUS_PARTITION_TERMINATING
The target partition is already shutting down
STATUS_PARTITION_TERMINATING is returned when code attempts to access a partition whose termination sequence has started. The object may still exist long enough for cleanup, but new operations are no longer valid because ownership, memory, or execution resources are being dismantled.
What to do
- Stop issuing new requests and move the caller into its own teardown path.
- Cancel or drain outstanding operations according to the partition API contract.
- Release references promptly so termination is not delayed.
- Do not retry against the same partition handle; reacquire a live target if the operation is still required.
Race conditions to check
This status often exposes lifecycle races: one thread begins termination while another uses a cached handle or queued work item. Add explicit state checks under the same synchronization that protects the handle, and ensure callbacks cannot enqueue fresh work after shutdown has been announced.
References
Looking for a different code? Search another status or error code.