AP-25563: Add diagnostic logging for intermittent Python gateway comm…#85
Draft
HedgehogCode wants to merge 1 commit intomasterfrom
Draft
AP-25563: Add diagnostic logging for intermittent Python gateway comm…#85HedgehogCode wants to merge 1 commit intomasterfrom
HedgehogCode wants to merge 1 commit intomasterfrom
Conversation
…unication failures Logs gateway lifecycle events (creation, closure) with thread and identity information to help diagnose the root cause of "Cannot obtain a new communication channel" errors. Tracks gateway ownership through object hash codes for correlation. - DefaultPythonGateway.close(): Log PID and calling thread at INFO level - PythonScriptingSession: Log gateway hash and thread at creation (INFO) and shutdown (ERROR) - PythonGatewayTracker.clear(): Log process count and triggering thread at ERROR level - QueuedPythonGatewayFactory: Log eviction count and thread at gate-close (WARN) - PythonGatewayCreationGate: Include thread name in P2 phase event logs (INFO) - PythonScriptNodeModel: Handle no-cause "Cannot obtain" variant with improved error message When this error occurs again, correlating gateway hash and PID across log entries will reveal which code path triggered the unexpected shutdown. AP-25563 (Investigate "Cannot obtain a new communication channel" Python failures)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


…unication failures
Logs gateway lifecycle events (creation, closure) with thread and identity information to help diagnose the root cause of "Cannot obtain a new communication channel" errors. Tracks gateway ownership through object hash codes for correlation.
When this error occurs again, correlating gateway hash and PID across log entries will reveal which code path triggered the unexpected shutdown.
AP-25563 (Investigate "Cannot obtain a new communication channel" Python failures)