Commit Graph

97 Commits

Author SHA1 Message Date
benny066567 dce7995d9a
fix(server): tx leak when stopping the graph server (#2791) 2025-06-16 14:46:40 +08:00
MingzhenHan 337dc86567
chore(server): remove some outdated configuration
Co-authored-by: imbajin <jin@apache.org>
2025-05-14 18:51:55 +08:00
John 8c1ee710d6
feat(server): LoginAPI support token_expire field (#2754)
Co-authored-by: imbajin <jin@apache.org>
2025-05-05 11:49:12 +08:00
Peng Junzhi 1badd931e2
BREAKING CHANGE(server): disable legacy backends include `MySQL/PG/c*`(.etc) (#2746)
* disable Cassandra、MySQL、Postgre、scyllaDB、palo backend
2025-04-28 15:20:37 +08:00
haohao0103 c99cfcddc9
fix(server):fix graph server cache notifier mechanism (#2729)
* #2728

* fix some typo & tiny improve

---------

Co-authored-by: imbajin <jin@apache.org>
2025-04-02 09:53:22 +08:00
VGalaxies a4cb44ea8f
fix(docker): fix build pd-store arm image 2025-03-10 16:53:04 +08:00
LiJie20190102 a369ef1f4a
fix(server): kneigbor-api has unmatched edge type with server (#2699)
Co-authored-by: lijie0203 <lijie@qishudi.com>
Co-authored-by: imbajin <jin@apache.org>
2024-12-20 16:09:53 +08:00
VGalaxies f838897e6b
fix(docker): update server image desc (#2702) 2024-12-09 17:01:01 +08:00
Peng Junzhi 3ab8b28914
chore(deps): adjust release fury version (#2698) 2024-11-25 15:32:11 +08:00
V_Galaxy afe343bd13
chore(dist): update outdated docs for release 1.5.0 (#2690)
* improve

* Update README.md

---------

Co-authored-by: imbajin <jin@apache.org>
2024-11-06 18:49:42 +08:00
YangJiaqi 392dffc495
fix(server): Filter dynamice path(PUT/GET/DELETE) with params cause OOM (#2569)
Co-authored-by: imbajin <jin@apache.org>
Co-authored-by: yangjiaqi <jiaqi.yang@veriti@xyz>
2024-11-06 13:43:49 +08:00
Peng Junzhi 35e5a8c04a
feat(server): support MemoryManagement for graph query framework (#2649)
Users can use **following new options** to configure memory management:

_\# The memory management switch in HugeGraph. Options: off-heap, on-heap, disable._
**memory.mode=off-heap** 
_\# The maximum memory capacity that can be managed for all queries in HugeGraph._
**memory.max_capacity=1073741824** 
_\# The maximum memory capacity that can be managed for a query in HugeGraph._
**memory.one_query_max_capacity=104857600** 
_\# The alignment used for round memory size._
**memory.alignment=8** 

**Detailed docs**: https://github.com/apache/incubator-hugegraph/wiki/%5BMemory-Management%5D-GSoC-2024-Final-Report

![image](https://github.com/user-attachments/assets/411968f8-cbf5-4ea1-8c1f-10c572ecedf2)

---------

Co-authored-by: imbajin <jin@apache.org>
2024-11-05 15:16:48 +08:00
imbajin 21855c67a3
refactor(commons): handle sofa-rpc desc type & mark TODO (#2666)
* chore: upgrade sofa-rpc to latest version (2024.8)

* fix conflicts

* downgrade sofa-rpc to 5.12.

* fix: replace the wrong dep usage for sofa-rpc

* feat: support multi RPC desc type for users

* chore: disable sofa-rpc server by default
2024-10-25 11:16:38 +08:00
V_Galaxy 7b16f4c0f4
fix(server): serialize source and target label for non-father edge label (#2682)
* fix up and  UT
2024-10-24 23:30:41 +08:00
MingzhenHan 0cb6115fdc
feat(server): support in-heap memory JVM monitor (#2650) 2024-10-15 19:53:31 +08:00
MingzhenHan 29ecc0492e
chore(dist): replace G1 config & handle other gc options (#2664) 2024-10-10 20:29:13 +08:00
vaughn 861a10083c
refactor(server): optimize the server-node info (#2671)
Co-authored-by: imbajin <jin@apache.org>
2024-10-10 20:17:43 +08:00
V_Galaxy f6f3708197
BREAKING CHANGE(server): support "parent & child" EdgeLabel type (#2662)
HugeGraph supports the parent-child edge feature, meaning that an Edgelabel can have a subordinate type. Using the bank transfer graph as an example, transfers may include person-to-person transfers (person-to-person), person-to-company transfers (person-to-company), and company-to-company transfers (company-to-company). These three different types of transfers share a common operation, transfer.

In actual business scenarios, it is often necessary to retrieve all transfer edges with a single query. Currently, competitors can only manually split the transfer edge types, perform multiple queries, and then aggregate the results. With HugeGraph's parent-child edge feature, it is possible to query the corresponding person-to-person transfers, person-to-company transfers, and other sub-edge types, and also conveniently and efficiently retrieve all transfer-related edges at once.

PS: The parent-child edge feature for the cassandra and scylladb backends has been temporarily disabled through the store feature. 

> Code formatting will be done separately in the next PR.

Related to:
- https://github.com/apache/incubator-hugegraph/issues/745
- https://github.com/apache/incubator-hugegraph/issues/447
2024-10-10 00:15:32 +08:00
vaughn 4274b724a8
chore: fix lombok compiling error and error for list cast to string (#2592)
Co-authored-by: imbajin <jin@apache.org>
2024-09-28 22:45:22 +08:00
Shirley c88963c34b
chore(server): mark old raft configs as deprecated (#2661)
---------

Signed-off-by: shirley <shirley.d.storage@gmail.com>
2024-09-08 22:25:43 +08:00
V_Galaxy a529c02577
chore: set the `skipCommonsTests` property to `true` by default (#2651) 2024-09-01 20:35:02 +08:00
YangJiaqi 355483f1b2
chore(ci): fix postgresql unit test failed (#2643)
- close #2648
2024-08-28 12:35:21 +08:00
imbajin 0a0f2c3bfa
Merge pull request #2628 from apache/intro-commons-v2
**TODO:**
After this PR merged, change the README in commons & pin a [issue](https://github.com/hugegraph/hugegraph-hubble/issues/371) to notify all users/devs to know the context (also update the repo description...)

Finally, we may need start a discussion for marking commons repo in achieved status
2024-08-22 19:07:20 +08:00
V_Galaxy 7dc6a86a7d
chore(dist): intro additional Dockerfile to build the server image & skip init-hstore backend (#2642) 2024-08-22 14:04:06 +08:00
VGalaxies b087f085c1 chore(commons): basic adapt for commons migration 2024-08-21 16:09:00 +08:00
V_Galaxy 1c577de9ba
chore(api): support ignore graphspaces segment in url (#2612)
For forwards compatibility with the "graphspace" mode

---------

Co-authored-by: imbajin <jin@apache.org>
2024-08-13 20:56:53 +08:00
V_Galaxy 4f0e4442ab
fix: correct server docker copy source path (#2637) 2024-08-13 20:53:20 +08:00
V_Galaxy df921e915d
refact(server): enlarge bytes write limit & remove param `big` when encode/decode string id length (#2622)
As title, change limit:
- vid max to 16KB
- eid max to 64kb (128k as backup)
- property max to 10MB (keep consistent)

fix #1593 #2291

---------

Co-authored-by: imbajin <jin@apache.org>
2024-08-10 17:02:30 +08:00
V_Galaxy 7df736a77c
chore(hstore): translate CJK comments to English (#2616)
* trans server-core
2024-08-10 15:31:25 +08:00
V_Galaxy dc3070f45b
chore(dist): tar source and binary package for hugegraph with pd-store (#2594)
tar source and binary package for hugegraph with pd-store
2024-08-06 21:21:14 +08:00
John 53f0e18216
doc(server): enhance rest-server.properties comment (#2610)
---------

Co-authored-by: imbajin <jin@apache.org>
2024-08-02 19:14:25 +08:00
V_Galaxy d36e05ece8
chore: temporarily ignore failure core tests for hstore & simplify ci name (#2599)
* ignore tests for hstore rename ci
2024-07-31 16:40:53 +08:00
V_Galaxy 73a4c9d028
chore: intro `editorconfig-maven-plugin` for verifying code style defined in `.editorconfig` (#2591)
* exclude .flattened-pom.xml
2024-07-17 16:03:27 +08:00
V_Galaxy d6bc24e0f2
fix(dist): update build artifact path for docker deployment (#2590)
* fix path
2024-07-16 20:25:02 +08:00
V_Galaxy bd83741f24
chore: minor improve for pom properties (#2574) 2024-07-15 14:59:10 +08:00
V_Galaxy 882f3b7d65
feat(dist): support docker deployment for PD and Store (#2573)
Co-authored-by: imbajin <jin@apache.org>
2024-07-15 11:12:25 +08:00
HaoJin Yang 03b40a5244
fix(server): random generate default value (#2568)
Co-authored-by: imbajin <jin@apache.org>
2024-07-14 17:05:35 +08:00
V_Galaxy cedc000215
chore: upgrade revision to 1.5.0 (#2585)
* set revision to 1.5.0
2024-07-13 17:00:43 +08:00
V_Galaxy 9f89afc39a
feat(server): support new backend Hstore (#2560)
subtask of #2483
2024-07-10 16:35:44 +08:00
V_Galaxy 1e9752109e
chore: intro `install-dist` module in root (#2552)
* init dist in root

* adapt path & regenerate deps

* add comment

* add comment

* fix pd dir

* fix server dir

* improve hugegraph-pd/.gitignore

* improve

* rename dist -> install-dist

* fix path

* regenerate known dependencies
2024-06-13 17:06:37 +08:00
V_Galaxy 506850caea
chore: reset license header for file declared in LICENSE (#2550) 2024-06-11 10:08:23 +08:00
Peng Junzhi ac93deebc6
feat(store): integrate `store-core` submodule (#2548)
* feat(store): integrate store-core submodule
2024-06-07 17:25:42 +08:00
V_Galaxy c1e8ea5aba
feat(server): integrate `server-hstore` into hugegraph (#2534)
subtask of #2265

When introducing hstore, server-core needs corresponding modifications. Except for BytesBuffer.java in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/serializer/, other files should be consistent with the pd-store branch.

---------

Co-authored-by: imbajin <jin@apache.org>
2024-05-06 20:09:12 +08:00
V_Galaxy 253b8d38b8
feat(pd): integrate `pd-dist` into hugegraph & add core tests, client tests, and REST tests for PD (#2532)
subtask of #2265

---------

Co-authored-by: imbajin <jin@apache.org>
2024-05-06 20:08:48 +08:00
Emmanuel Ferdman 543bbfeb74
fix: update resource references (#2522) 2024-04-16 15:10:49 +08:00
V_Galaxy 6be756919b
fix(server): avoid overriding backend config in gremlin example script (#2519) 2024-04-14 23:57:07 +08:00
V_Galaxy 3783247c74
fix(server): switch rocksdb backend to memory when executing gremlin example (#2518) 2024-04-12 16:32:08 +08:00
Simon Cheung 27cf52b007
chore: add swagger-ui LICENSE relative files (#2495)
* Create LICENSE-swagger-ui.txt
* Update NOTICE
2024-03-30 14:17:17 +08:00
imbajin 6a4041e21c chore: upgrade to 1.3.0 (last major version support Java8)
fix
2024-03-22 10:51:57 +08:00
imbajin 713d88d1fd refact: enhance auth logic
fix
2024-03-22 10:51:57 +08:00