Commit Graph

165 Commits

Author SHA1 Message Date
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
zhangyi51 cf844fad86 hugegraph-1373 can't delete task not finished
Change-Id: I933aeeb77b0aa09a0ad66c3c8ad0be5d804d51eb
2018-08-09 20:23:28 +08:00
zhangyi51 22c5b7762b hugegraph-889 async implementation of schema deletion and index rebuild
Change-Id: I94e6bb3b5e12097fbe3b7278df625b317137e38b
2018-08-09 20:23:25 +08:00
Zhangmei Li 2f5282c890 HugeGraph-81: add taskScheduler() to HugeGraph
Change-Id: I5b99f4c4bf81adc366d899207331cb9ac9132c84
2018-08-09 20:23:24 +08:00
Zhangmei Li 13ed27b8d9 HugeGraph-1337: let delete api of vertex&edge return 400 if id is invalid
Change-Id: If80eee5b83165e1ca100c3b89be1ffee5c993511
2018-08-09 20:23:01 +08:00
liningrui b7f2bdcb46 HugeGraph-1328: Supports backend table version checking
Change-Id: Ifbfadbd26ed069404a66940329562f55e8fd903b
2018-08-09 18:17:39 +08:00
liningrui e6e69629c6 HugeGraph-81: Clear some warings in metrics releated classes
Change-Id: Iccb6e79873aab5583accd4af34e9099059a34e75
2018-08-09 18:17:38 +08:00
liningrui 2558d5435b HugeGraph-1316: Reference own shard class
Change-Id: I15dd6e25d4d2c2f14b27f0107a68541208285a3b
2018-08-09 18:17:37 +08:00
zhangyi51 9167072e9a hugegraph-81 clear some warnings
Change-Id: Iab710ed412b2f076b7a582816d3fb1f2646ee80c
2018-08-09 18:17:36 +08:00
liningrui a5428506e6 HugeGraph-81: Fixed bug that update property in EdgeAPI will generate the same key and value
Change-Id: I1f4fca78e9b9f361ce5428889daf7d74eda58ce8
2018-08-09 18:17:36 +08:00
liningrui 3bdb0e0991 HugeGraph-1273: Add metrics API to monitor status of HugeGraphServer
Change-Id: I5fe0db33e21c3e45df798f91d8e0b3e9c952dd1e
2018-08-09 18:17:34 +08:00
liningrui 54dea652d1 HugeGraph-1287: Upgrade to version 0.7
Change-Id: Ie3e7c0ac0f2fcab5f6af9c096721bee602bbc43d
2018-08-09 18:17:32 +08:00
zhangyi51 3873cc50c5 hugegraph-81 add ALLOW_TRACE option for rest-server
Change-Id: I30d08f3842a1dd8b3818411bbc591c0529e5571b
2018-08-09 18:17:31 +08:00
liningrui cacede83a1 HugeGraph-81: Optimize some performance-related code
Change-Id: Ic35ab56e0648a4e9d1d80ae5d2724839558b871a
2018-08-09 18:17:29 +08:00
zhangyi51 11dbcf31d3 hugegraph-1272 support set/clear restore status of graph for backup/restore
Change-Id: I4c8d8f2b63d3eec63baf59e2a007f55e4b713e87
2018-08-09 18:17:28 +08:00
liningrui e7f91ba662 HugeGraph-81: Fixed some bugs that may arise in multithreading
Change-Id: I09507ae99b12cd2bb5431525bdbcfc07ed363c21
2018-08-09 18:17:28 +08:00
liningrui 53ba638c5f HugeGraph-1261: Add param offset for vertex/edge list API
Incidentally add check on page with other query params

Change-Id: I78d21a0d666d632e1d8bb129efa78b0d4dbeadcc
2018-08-09 18:17:27 +08:00
zhangyi51 b4eca7d300 hugegraph-1176 add single point limit and traverse vertices limit
Change-Id: Ic0f1b925eefd446dafb700316795ac754953ae48
2018-08-09 18:17:26 +08:00
Zhangmei Li cee1af1760 HugeGraph-1162: support authentication and permission control
Change-Id: I9dcbd00e4e8b1c36fd208b69dc65c47b3af26c72
2018-08-09 18:17:25 +08:00
liningrui fe8dbd86fa HugeGraph-1249: Rename userData to userdata in all schema element
Change-Id: I000f9423434959eacace43614e9cc0edbf049fd5
2018-08-09 18:17:24 +08:00
liningrui 4e0b548f9f HugeGraph-1240: Reorganize the default config option
Change-Id: Ic0477a063a4b1decb2aace0425142a6ae743bea0
2018-08-09 18:17:22 +08:00