-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick bugfix to V2.0.1 branch (#334)
* Fix reconnect failed when all connections are idle status (#303) * fix reconnect failed when all connection are broken idle * add test * fix null object (#301) * fix thread pool while iterate result (#311) * fix thread pool while iterate result * add close for example * 这里由于getIdleConnNum()被调用了两次, (#319) fix getConnection() under the high concurrency return the wrong result Co-authored-by: laura-ding <[email protected]> * fix the toString of path (#327) * Add SessionsManager and test (#330) * add session manager * Add comments * modify get index * Added reconnection handling for all service exceptions * fix encoder without string col (#290) * fix encoder with chinese value (#308) Co-authored-by: Anqi <[email protected]> * delete SessionManager and fix confilct * filter online storaged hosts & add test (#326) * filter the online hosts for storaged * add test for listHosts * add expired_time_factor config * extract printProcessStatus function as util * fix comments * get the latest schema & add test (#316) * get the latest schema * add test for multi version schema * add vid type for CREATE SPACE NGQL * add vid type * update vid length Co-authored-by: laura-ding <[email protected]> * modify the config of the pom to auto deploy (#329) * cherry-pick bugfix * modify the version * modify version * fix metaclient test * fix timeout problem * modify the waittime Co-authored-by: Anqi <[email protected]> Co-authored-by: Zhang Binbin <[email protected]>
- Loading branch information
1 parent
923bc04
commit 1e88e0f
Showing
35 changed files
with
814 additions
and
178 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Deploy release to the Maven Central Repository | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Java and Maven | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
|
||
- name: Install nebula-graph | ||
run: | | ||
mkdir tmp | ||
pushd tmp | ||
git clone https://github.com/vesoft-inc/nebula-docker-compose.git | ||
pushd nebula-docker-compose/ | ||
cp ../../client/src/test/resources/docker-compose.yaml . | ||
docker-compose up -d | ||
sleep 10 | ||
popd | ||
popd | ||
- name: Deploy Release to Maven package | ||
uses: samuelmeuli/action-maven-publish@v1 | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} | ||
nexus_username: ${{ secrets.OSSRH_USERNAME }} | ||
nexus_password: ${{ secrets.OSSRH_TOKEN }} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Deploy snapshot to the Maven Central Repository | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
schedule: | ||
- cron: '0 6 * * *' | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Java and Maven | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
|
||
- name: Install nebula-graph | ||
run: | | ||
mkdir tmp | ||
pushd tmp | ||
git clone https://github.com/vesoft-inc/nebula-docker-compose.git | ||
pushd nebula-docker-compose/ | ||
cp ../../client/src/test/resources/docker-compose.yaml . | ||
docker-compose up -d | ||
sleep 10 | ||
popd | ||
popd | ||
- name: Deploy Snapshot to Maven package | ||
uses: samuelmeuli/action-maven-publish@v1 | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} | ||
nexus_username: ${{ secrets.OSSRH_USERNAME }} | ||
nexus_password: ${{ secrets.OSSRH_TOKEN }} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
13 changes: 13 additions & 0 deletions
13
client/src/main/java/com/vesoft/nebula/client/graph/exception/InvalidSessionException.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* Copyright (c) 2021 vesoft inc. All rights reserved. | ||
* | ||
* This source code is licensed under Apache 2.0 License, | ||
* attached with Common Clause Condition 1.0, found in the LICENSES directory. | ||
*/ | ||
|
||
package com.vesoft.nebula.client.graph.exception; | ||
|
||
public class InvalidSessionException extends RuntimeException { | ||
public InvalidSessionException() { | ||
super("The session was released, could not use again."); | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.