Silence exceptions when cluster is shutting down.#49
Closed
joaquincasares wants to merge 1 commit intoapache:masterfrom
Closed
Silence exceptions when cluster is shutting down.#49joaquincasares wants to merge 1 commit intoapache:masterfrom
joaquincasares wants to merge 1 commit intoapache:masterfrom
Conversation
Contributor
|
This should be fixed in the 2.0 branch now. The |
stef1927
pushed a commit
to stef1927/python-driver
that referenced
this pull request
Mar 25, 2015
Fixed error in sample code in documentation
TheRealFalcon
pushed a commit
that referenced
this pull request
Jan 17, 2020
PYTHON-778: Implement serializers for the Graph String API
TheRealFalcon
pushed a commit
that referenced
this pull request
Feb 26, 2020
Remove temporarily the core engine graph documentation
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.
I'm not sure if this is the best patch, but I did notice that close() was called elsewhere so I figured just to check for variable existence. Worst case: it showcases where the exceptions on cluster.shutdown() were coming from.
Here are the exceptions that I was getting on a normal program exit:
I realized that log was None, much like:
https://github.com/datastax/python-driver/blob/master/cassandra/cluster.py#L1526
As were _loop_lock and ConnectionShutdown.