Commit Graph

1974 Commits

Author SHA1 Message Date
LingXiao Qi 58f2d22048
docs: fix typo in README (#2806) 2025-06-17 21:37:25 +08:00
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
imbajin e2c08f16d5
Update .asf.yaml (#2751) 2025-04-14 16:29:55 +08:00
haohao0103 42f9a7638b
refactor: adjust the related filters of sofa-bolt (#2735)
* 优化调整sofa-bolt相关filter

* 优化调整sofa-bolt相关filter

* 优化调整sofa-bolt相关filter

* Update hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/raft/auth/IpAuthHandler.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/raft/auth/IpAuthHandler.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* tiny improve

* fix wrong usage in log

---------

Co-authored-by: imbajin <jin@apache.org>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-02 17:25:46 +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
VGalaxies 21a8d61050
setup (#2741) 2025-03-06 09:06:46 +08:00
Bobby Warner ca501a202c
doc: enhance words in README (#2734)
Co-authored-by: imbajin <jin@apache.org>
2025-02-20 16:29:53 +08:00
VGalaxies 57e9f56e14
fix(dist): add license for swagger-ui & reset use stage to false in ci yml (#2706)
* setup

* disable use stage

* improve ci

---------

Co-authored-by: imbajin <jin@apache.org>
2024-12-30 23:05:24 +08:00
imbajin f1474609e9
chore: add debug info for tp test (#2688) 2024-12-21 19:58:31 +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
V_Galaxy f0b13952aa
chore(dist): fix the JSON license issue (#2697)
* setup

* chore: change json scope to 'test' in pd.pom

* update license

---------

Co-authored-by: imbajin <jin@apache.org>
2024-11-25 17:20:43 +08:00
Peng Junzhi 3ab8b28914
chore(deps): adjust release fury version (#2698) 2024-11-25 15:32:11 +08:00
Emmanuel Ferdman 5dc3f9062f
docs: update repo artifacts references (#2695) 2024-11-19 00:09:25 +08:00
V_Galaxy d142d91cb8
chore(dist): fix licenses and remove empty files (#2692) 2024-11-12 16:09:55 +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 2294d2abc2
fix(hstore): JRaft Histogram Metrics Value NaN (#2631)
Co-authored-by: imbajin <jin@apache.org>
Co-authored-by: yangjiaqi <jiaqi.yang@veriti@xyz>
2024-11-06 14:55:33 +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
V_Galaxy 96315aa197
chore(dist): update licenses for 1.5 (#2687) 2024-11-04 19:37:30 +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
HaoJin Yang 0aeabe06da
refactor(pd/store): remove useless files & clean code (#2681)
* chore(pd&server): remove useless files

* minor improve

---------

Co-authored-by: imbajin <jin@apache.org>
Co-authored-by: V_Galaxy <vgalaxies@apache.org>
2024-10-24 20:40:13 +08:00
MingzhenHan 0cb6115fdc
feat(server): support in-heap memory JVM monitor (#2650) 2024-10-15 19:53:31 +08:00
HaoJin Yang 1a82d83117
feat(clustertest): add basic MiniCluster module for distributed system (#2615)
Co-authored-by: imbajin <jin@apache.org>
Co-authored-by: V_Galaxy <dyc1904821183@gmail.com>
2024-10-15 11:05:43 +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
haohao0103 a657ce5012
fix(pd): Ensure range attribute thread safety (#2641) 2024-09-25 15:26:58 +08:00
haohao0103 d2906a6db8
fix(pd):PartitionCache lockGraph Logic error (#2640) 2024-09-24 16:34:36 +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
V_Galaxy 7be8e6b1dd
feat(common): add a tool method encode (common #146, #2647)
Co-authored-by: John <thespica@qq.com>
2024-08-24 16:07:26 +08:00
V_Galaxy 0b24aca3cd
chore(store): translate CJK comments to English for store-dist, store-grpc, store-node, store-rocksdb, store-test (#2645)
Co-authored-by: Peng Junzhi <78788603+Pengzna@users.noreply.github.com>
2024-08-23 14:35:16 +08:00
imbajin f88fad4711
Merge pull request #2646 from apache/fixup-commons
chore(ci): disable merge button & rename ci job name
2024-08-23 11:00:23 +08:00
VGalaxies a767d73182 setup 2024-08-22 20:09:42 +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
YangJiaqi 58f58ee094
fix(hstore): enable JRaft MaxBodySize config (#2633)
* enable JRaft MaxBodySize config
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.hugegraph.store.node.AppConfig$Raft': Unsatisfied dependency expressed through field 'maxBodySize'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "512*1024"

---------

Co-authored-by: V_Galaxy <vgalaxies@apache.org>
2024-08-18 14:47:11 +08:00
YangJiaqi ba5b89e374
fix(hstore): print time for hstore gc log #2636 2024-08-17 11:39:30 +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
YangJiaqi a038d2341c
fix(hstore): JRaft maxEntriesSize configuration parameters do not take effect (#2630)
Co-authored-by: imbajin <jin@apache.org>
2024-08-11 13:04:34 +08:00