Skip to content

fix OLTP algorithm not check if source/target vertex exist#1156

Merged
Linary merged 2 commits intomasterfrom
fix-oltp-source-not-exist
Aug 26, 2020
Merged

fix OLTP algorithm not check if source/target vertex exist#1156
Linary merged 2 commits intomasterfrom
fix-oltp-source-not-exist

Conversation

@zhoney
Copy link
Copy Markdown
Contributor

@zhoney zhoney commented Aug 26, 2020

Change-Id: I068f5b3f3bb57d47c284309023cc6e9b8ab4c140

Change-Id: I068f5b3f3bb57d47c284309023cc6e9b8ab4c140
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 26, 2020

Codecov Report

Merging #1156 into master will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1156      +/-   ##
============================================
- Coverage     65.77%   65.76%   -0.01%     
  Complexity     5654     5654              
============================================
  Files           356      356              
  Lines         28874    28874              
  Branches       4055     4055              
============================================
- Hits          18991    18990       -1     
- Misses         7996     7997       +1     
  Partials       1887     1887              
Impacted Files Coverage Δ Complexity Δ
...du/hugegraph/backend/tx/GraphIndexTransaction.java 81.05% <0.00%> (-0.12%) 201.00% <0.00%> (ø%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e95249...fb6909c. Read the comment docs.


protected void checkVertexExist(Id vertexId) {
// Throw NotFoundException if not exist vertex with id 'vertexId'
this.graph.vertex(vertexId);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

throw 400 instead of 404

Change-Id: I7eb4ceaccdc4a6b2a4a7b944edc83dff64a98f5d
@Linary Linary merged commit b9cb6f7 into master Aug 26, 2020
@Linary Linary deleted the fix-oltp-source-not-exist branch August 26, 2020 08:49
zhoney added a commit that referenced this pull request Sep 15, 2020
…h and jaccard similar

* fix OLTP algorithm not check if source/target vertex exist (#1156)
* support customized kout and kneighbor
* support multi node shortest path API
* support template paths api
* support jaccard similars find oltp api
* use multi-thread to accelerate customized kout/kneighbor, multi-node-shortest-path, jaccard-similar and template-paths
* big depth and both direction use multi threads, otherwise single threead
* fix shortest path api NLP

Change-Id: I7eb4ceaccdc4a6b2a4a7b944edc83dff64a98f5d
zhoney added a commit that referenced this pull request Sep 21, 2020
…h and jaccard similar

* fix OLTP algorithm not check if source/target vertex exist (#1156)
* support customized kout and kneighbor
* support multi node shortest path API
* support template paths api
* support jaccard similars find oltp api
* use multi-thread to accelerate customized kout/kneighbor, multi-node-shortest-path, jaccard-similar and template-paths
* big depth and both direction use multi threads, otherwise single threead
* fix shortest path api NLP

Change-Id: I7eb4ceaccdc4a6b2a4a7b944edc83dff64a98f5d
zhoney added a commit that referenced this pull request Oct 28, 2020
…template paths (#1174)

* Add customized kout/kneighbor, template path, multi-node-shortest-path and jaccard similar
* fix OLTP algorithm not check if source/target vertex exist (#1156)
* support customized kout and kneighbor
* support multi node shortest path API
* support template paths api
* support jaccard similars find oltp api
* use multi-thread to accelerate
* big depth and both direction use multi threads, otherwise single threead
* fix shortest path api NLP
* Szzq paths improve (#51)
* template path use concurrent HashSet to save paths in concurrent mode
* support property filter for paths api
* fix configuration not supported with auth (#55)
* template path supports repeat times args (#57)
* paths supports nearest args
* oltp multiple threads reuse
* add multiple thread depth config
* fix group perperty can't be empty
* upgrade api version to 58
* move customized kout/kneighbor to kout/kneighbor
* move jaccard similar into jaccard similarity
* fix kout/kneighbor withVertex not work
* rebase ramtable
* extract common traverser from template paths traversers
* extract path traverser for template paths and collection paths
* normalize traverser

implements: #1173

Change-Id: I85aa1d4274554d65f85a0deb7ac596e65dbb503b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants