Commit Graph

232 Commits

Author SHA1 Message Date
Linary 4ee38fa79b Relax restrictions on minimum memory (#689)
Improve #682

Change-Id: I92ae91b0ab5076566fcbbe10d4d48122ffd9dde5
2019-09-18 21:44:08 +08:00
Linary 1c062b8947 Upgrade tinkerpop version to 3.4.3 (#648)
Change-Id: I5443b6a05eea74205a373f093dad27536e04f0be
2019-09-12 19:04:30 +08:00
Linary 94c2d34ce8 Support to verify license (#645)
Change-Id: Ia3fb6b38a032442e1d8bf7cee4d7b4032dc219df
2019-09-09 20:58:41 +08:00
Jermy Li 26e48a27f1 encode numeric values in secondary index and primary-key (#676)
Change-Id: I6acfad358745a54284f80d236243bfbef61d2deb
2019-09-02 17:15:24 +08:00
Jermy Li 0a0578fdb9
support rest api timeout (#674)
implement: #665
Change-Id: Id6b36904494a57e18d67bb73db8ce906858d9cb1
2019-09-02 14:25:28 +08:00
zhoney b230019251 support query edges of vertex in page (#659)
implemented: #658

Change-Id: I26e8efb1e8e3547f403dd97e2ddc367df69eae51
2019-08-27 11:53:15 +08:00
zhoney 1e01920552 support unique index (#636)
implemented: #633

Change-Id: I753a81d0d47b0d7979563d5a9f41d368e06a5b33
2019-08-19 21:27:42 +08:00
Linary 78f361a8c7 Improve some metrics name in vertex/edge api (#631)
Change-Id: I56fc983736a3f2ae4cd3b29a944e62cd8b6f8bde
2019-08-09 13:14:56 +08:00
zhoney e37937bd85 map indexlabel various range type to RANGE (#628)
Change-Id: I0e3d241de3bef100a3d789486c3eae96d203b791
2019-08-06 17:43:46 +08:00
zhoney 0e66c64fec support shard-index and vertex + sortkey prefix query (#574)
implemented: #270 and #398

Change-Id: I444b67b7f57a18fd32c29d54d776cf411ccd847a
2019-08-06 11:16:52 +08:00
Linary b01549a579 Not allowed perform sensitive operations via gremlin (#176)
Implement #145

Change-Id: I9a590fe40d3b5a808b569ed0af8fd83214a2941a
2019-07-29 14:21:40 +08:00
imbajin 3fcfce2bb7 Support batch updating elements' property by multiple strategy (#493)
support strategies:
  SUM, BIGGER, SMALLER on Number or Date
  UNION, INTERSECTION, APPEND, ELIMINATE on Collection
2019-07-23 18:36:49 +08:00
zhoney 8d23665a40 Add source_in_ring args for rings API (#528)
fixed: #523
Change-Id: If8c5cc4d8678f847ce4a5f0388e56aae465d3ea6
2019-07-01 22:01:24 +08:00
Linary 6a4aaae453 Support to detect connection before using if needed (#562)
Fix #556

Change-Id: I622e285f812098d601061f2515d70629f1e07d88
2019-06-13 18:21:45 +08:00
Linary 6f6fac942c Shutdown RestServer and GremlinServer when stop (#554)
Change-Id: Iae5a6506dfaa0eeb6698f42f8bb3ef7f0ee73321
2019-06-13 18:20:49 +08:00
Jermy Li b63277e583 improve error message with readable HugeType (#546)
Change-Id: I633eee63fe9458cdc910f977fccec8fd0109f1d2
2019-06-03 18:05:23 +08:00
Linary abebfac25c Add api white list and rate limiter for gc (#522)
Also add ProfileAPI
Change-Id: Ia7ac5dc5d7d91676701738f2a0ae5073f9ceb01e
2019-05-31 17:06:40 +08:00
Linary 9db6d6a0ef Uniform variable name: vertexes to vertices (#529)
Change-Id: I05c0f52438e3ab74360b396d1c3a278d885a5426
2019-05-27 14:49:40 +08:00
Linary 27f23c5e48 Reject request when there is too little free memory (#476)
Change-Id: Ibac88733530b55d267da88e08055d71bce9b07d7
2019-05-23 15:18:02 +08:00
Linary 7def8302d6 Fix remaining count error when query edge in page (#515)
Change-Id: I07920cb7de15a837cfad1f0a130fc6d036e4d3bd
2019-05-22 18:00:49 +08:00
Linary bed8a6ea03 Bump up to version 0.10.0 (#471)
Change-Id: I49314313781c73436e3370d2a6334adfbc142d96
2019-05-06 22:43:01 -05:00
Jermy Li 48f61ff9f1 Prevent misleading warning with HK2 MultiException (#492)
WARNING: The following warnings have been detected:
WARNING: Unknown HK2 failure detected:
MultiException stack 1 of 1
java.lang.IllegalStateException: Please wait for the server to initialize

Change-Id: Ic683b982c95390fcb356074b9291fd664fcf4be2
improve: #490
2019-04-30 23:44:38 +08:00
Jermy Li 2418d515ed optimize: don't do remove-index if it's CREATING status (#465)
about 10% performance improvement with tinkerpop tests.
also fix bug: delete-index-by-label deosn't work in InMemory backend.

Change-Id: Ie2cab7aef7e6e992d9dc3e3814eddf4adbc9f1bd
2019-04-19 14:12:13 +08:00
Linary 2890c96e67 Add personalrank and neighborrank RESTful API (#274)
Change-Id: I66e4224b5813aa2d5eadbfe540fb9de203db766b
2019-04-18 22:14:27 -05:00
Linary f36aef6762 Fix serialization tests run failed (#450)
Fix serialization tests run failed

Change-Id: Idd14fc15f1ed15193d63d105189b14ae59429691
2019-04-15 20:25:30 +08:00
Jermy Li 727a0e4947 Uniform variable name: Iterator iter (#438)
Change-Id: Iabf708702778a8ecd5eb19bdcf012c4133edff8f
2019-04-09 18:45:17 +08:00
zhoney 7c7ffe0e97 add skip_degree arg for shortest-path API (#433)
implements: #391

Change-Id: I6e1916c709b329aa97fde8e2e165703088278e19

Co-authored-by:platypus0127 <platypus0127@gmail.com>
Co-authored-by:zhoney <zhangyi89817@126.com>
2019-04-08 10:15:40 +08:00
Jermy Li 768b24f24f add PageState.page() to simplify access to page info (#429)
Change-Id: Idd9ccdc105dbc7f7cc37f6a4a49b8715b363b886
2019-04-03 10:53:01 +08:00
zhoney c4ca312c5d
Support paging for scan api (#428)
implemented: #360

Change-Id: Idea152b3d53ef519c7ed9847ee9e65092b264e08
2019-04-02 17:39:29 +08:00
Jermy Li 582793d893 Revert "Support paging for scan api (#361)" (#427)
This reverts commit 60d8d8fe86.
2019-04-02 14:20:25 +08:00
zhoney 60d8d8fe86 Support paging for scan api (#361)
implemented: #360

Change-Id: Idea152b3d53ef519c7ed9847ee9e65092b264e08
2019-03-27 20:06:10 +08:00
Linary c50c34a904 Support pagination when single index query (#328)
Support pagination when single index query

Change-Id: Iab355a9f68cebd8ebc666cf126842eb19fa40240
2019-03-27 16:22:34 +08:00
Linary 1e8e7bdc14 Let VertexAPI use simplified property serializer (#332)
Implement #307

Change-Id: I7e47b75160ff240157aec30c1e9b4690a3412e4e
2019-03-12 06:23:14 -05:00
zhoney 1a059fa1a9 implement customized path and crosspoints API (#306)
implemented: #305

Change-Id: I31edf93fafc91854ffe7b9ec36c97aeda1b18088
2019-03-11 04:58:36 -05:00
Jermy Li b6732404c1 prepare for mapdb backend (#357)
prepare for mapdb backend and add some test cases

Change-Id: I046bde4a32b3fd6693f788d27a9165e2646bc5cb
2019-03-06 18:03:54 +08:00
liningrui 234926f014 Throw 503 error if all workers are busy
Implement #341

Change-Id: I7770744d50bb21047c0b66e0d255d49a6d33e672
2019-02-18 21:05:38 +08:00
Zhangmei Li e84ce7a60a Support for progress updates for async gremlin job
implement #324

Change-Id: I5c7eea0d21caec3977f7a16ac15022422a976a46
2019-01-14 17:05:53 +08:00
liningrui 38da62545e Limit the name of the gremlin request less than 256 bytes
Change-Id: I46ccdffd92087b50676e1612226424208f66dbee
2019-01-06 21:57:29 -06:00
Zhangmei Li 55816db469 fix bug: the metrics of caches is lost
Change-Id: If99b20ea1d37cbaca8f844d7796b11bb9cfbd601
2019-01-07 11:33:51 +08:00
Zhangmei Li 7164a459ba Support range sortKey feature
implement #271

Change-Id: Ib618c45bc6169a0fb7632dbbf0fb29b7ee0a08e3
2018-12-29 14:15:54 +08:00
zhangyi51 2480347ab9 keep depth and degree consistent for traverser api
fixed: #250

Change-Id: I0b429c00032c0cdf80090b8350be90f6f2b3f74b
2018-12-17 16:52:35 +08:00
liningrui f2c99cf6c6 Bump up to version 0.9.0
Change-Id: I420ee1581a56ad26656722d2fccbce9e1df7d943
2018-12-13 11:47:40 +08:00
zhangyi51 05fa0f9fc2 task index-label id has conflicts with primitive index label
fixed: #239

Change-Id: I0b429c00032c0cdf80090b8350be90f6f2b3f74b
2018-11-29 16:07:47 +08:00
Zhangmei Li 74a7eb4dcc add metrics api test
Change-Id: Ia94713a411de021cfa1a792e670455e2fa3c6f2b
2018-11-23 16:36:04 +08:00
Zhangmei Li 3d0bf54191 clean up warnings
Change-Id: I5c216c377afc6961d28215dfa2bcee6621bbc104
2018-11-22 19:59:17 +08:00
Zhangmei Li 5ef25cf68e speed up tinkerpop test
how to:
1.speed up rocksdb backend by truncating tables
2.don't need to clear if the database is empty
3.don't need to clear variables if it's empty
4.don't need to commit hbase each len-prefix for delete index-label

potential problems:
1.mysql may block if create task vertex-label when truncating table
2.rocksdb may miss CF if create task vertex-label when truncating table
3.hbase may block if truncate hbase with version<2.0

improve #14

Change-Id: I4b2393aea8b0fc63c1886e984a576a1f5808b25c
2018-11-21 21:21:12 +08:00
zhangyi51 255df7e945 hugegraph-1379 support restore graph in restoring mode and merging mode
implement: #182

Change-Id: I7c2c85435af01c5d27279076d0473685b8f23f34
2018-11-21 19:07:52 +08:00
Zhangmei Li 7860796f9c Support for custom Authenticator
implement: #132

Change-Id: Ib31a99ebc6d9c2ec3169d066ff179860b9cc6e25
2018-11-21 14:16:03 +08:00
zhoney 30fbc72a21 make create index label return async job if exists
fixed #32

Change-Id: I8e23bd0dfcbe65d8f580f957143fcc1802c879f6
2018-11-16 19:30:36 +08:00
liningrui 54ae2576df Support metrics of backend store
Implement #136

Change-Id: I3524bd483f33e57a8b0c0a742861c829346f0ec6
2018-11-15 21:41:07 +08:00