Commit Graph

185 Commits

Author SHA1 Message Date
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
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
zhangyi51 684eabc032 Resume uncompleted tasks if the service is restarted
implement: #137

Change-Id: I8b90631b862449f9dac47bf4990089b014ae9830
2018-11-15 16:55:10 +08:00
Zhangmei Li 1d0e128f88 add the number of pending tasks to metrics
also refactor class name about task to remove prefix 'Huge'

Change-Id: Id21e9d91a0b83b807189fffbee0247219322f234
2018-11-08 21:34:24 +08:00
zhoney 82b361c7f3 add rays and rings restful api
fix #39

Change-Id: I41f82b73cee0ce657b3bcaaf1a68cf3479788fbf
2018-11-07 16:20:24 +08:00
Zhangmei Li 3ec71462ad Make task-list api not return task_input and task_result
improve #139

Change-Id: Iac6d1ef85f66efcd5478bcbca2a7fc54a3160f37
2018-11-06 18:59:36 +08:00
liningrui dbb44c0a26 Add task cancel API
Implement #153

Change-Id: Iadc6221f9ba4d7e2cb55c851aced364394d12cbb
2018-11-06 18:01:15 +08:00
liningrui ea7f25769e Let last page return null instead of "null" when pagination
Fix #164

Change-Id: I030c6cb983295061dc35e0cab3d70ff6d93eef43
2018-11-05 11:26:23 +08:00
liningrui 71a20d955c Fix: The config "batch.max_vertices_per_batch" doesn't work
Fix #129

Change-Id: I91ca12d6136e7ed51888049c607a2edaf9e0ced1
2018-11-01 14:46:51 +08:00
zhangyi51 fce75c1462 Commit index updates in batch
1. To avoid commit all together during rebuilding index,
   especially for Cassandra backend, which has batch limit 65535
2. Also move async codes to com.baidu.hugegraph.job package
3. fix bug that CacheManager might create more than one cache with same name

fixed: #144
implemented: #82

Change-Id: I88ff4bc878bc24122f0bb6ecf9964246a083b9ab
2018-11-01 14:17:31 +08:00
Zhangmei Li 06ec1ba362 improve metrics
1.add histograms for gremlin input and output size
2.improve memory gauges of metrics/system

Change-Id: I46b7c0b079f86a1eab47be8af72cd13a5a517534
2018-10-30 14:32:28 +08:00
Zhangmei Li 7b8d9f46ca fix: HugeGraphAuthProxy cannot be cast to HugeGraph
fix #126

Change-Id: Ifff14f5a0606b315f6d370f77ad71585ac801cf4
2018-10-25 19:51:37 +08:00
Zhangmei Li 97add4e14b fix: job status is not updated after running
fix #112

Change-Id: Ic21aaeab25f74a2062206b029079d65deccbee73
2018-10-16 15:51:15 +08:00
liningrui 22d3e60f44 HugeGraph-622: Bump up to version 0.8.0
Change-Id: I5d59b6c42d5bbddbc8f97e7c61ac065c545f3d0f
2018-08-10 15:43:31 +08:00
liningrui 02c53af134 HugeGraph-1386: Fixed bug that memory backend check failed when start HugeGraphServer
Change-Id: I327b4e11f014b6b1268270e3c33ae724e2a23928
2018-08-09 20:23:30 +08:00