This is an automated email from the ASF dual-hosted git repository.
panjuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new b5d09f8 Fix bug for proxy hung
new af86a6c Merge pull request #7411 from terrymanu/dev
b5d09f8 is described below
commit b5d09f884069766d73c16058777d36a4a9bae54c
Author: terrymanu <[email protected]>
AuthorDate: Fri Sep 11 19:54:11 2020 +0800
Fix bug for proxy hung
---
.../backend/communication/jdbc/connection/ConnectionStatusHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/ConnectionStatusHandler.java
b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/ConnectionStatusHandler.java
index 48a140f..a424178 100644
---
a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/ConnectionStatusHandler.java
+++
b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/ConnectionStatusHandler.java
@@ -27,7 +27,7 @@ import java.util.concurrent.atomic.AtomicReference;
@RequiredArgsConstructor
public final class ConnectionStatusHandler {
- private final AtomicReference<ConnectionStatus> status = new
AtomicReference<>(ConnectionStatus.READY);
+ private final AtomicReference<ConnectionStatus> status = new
AtomicReference<>(ConnectionStatus.RELEASE);
private final ResourceLock resourceLock;