Commit Graph

9 Commits

Author SHA1 Message Date
Jermy Li b642b5a4fa
perf(example): add PerfExample5 and PerfExample6 (#2860) 2025-09-16 10:25:11 +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
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
M 0ee9a9b788
fix: format and clean code in dist and example modules (#2441) 2024-02-20 17:22:07 +08:00
M 75867796b7
fix(server): unify the license headers (#2438)
subtask of #2435

---------

Co-authored-by: imbajin <jin@apache.org>
Co-authored-by: VGalaxies <vgalaxies@apache.org>
2024-02-07 12:53:57 +08:00
Jermy Li 20d1e5228e
chore: move server info into GlobalMasterInfo (#2370)
* chore: move server info into GlobalMasterInfo

Change-Id: Id854892333115fd45d7c8b9799d255627541b2ad

* fix testClearAndInit() and export GlobalMasterInfo

Change-Id: Ic2878c5359e7f55fcd11986aa0bf79241c7ee9ab

* enhence ServerInfoManager.heartbeat()

Change-Id: I6932893c4be8331547f3b721083ca00430f85e58

* move RoleElectionStateMachineTest to UnitTestSuite

Change-Id: I7b3e8e2867dcf1063a726c8005f1c34dbd218f7c
2023-12-04 12:43:32 +08:00
imbajin a7ad7ea100 Update PerfExampleBase.java 2023-11-13 12:50:49 +08:00
imbajin a9445ca3c3 fix(api): clean some code for release
separate from slow log
2023-11-13 12:50:49 +08:00
V_Galaxy bce6d058f5
refact: adjust project structure for merge PD & Store[Breaking Change] (#2338)
## Purpose of the PR

Subtask of #2265.

Adjust the project structure of this repository to include three sub-modules: hugegraph-server, hugegraph-pd, hugegraph-store at the root level.

## Main Changes

Roll back to the moment when https://github.com/apache/incubator-hugegraph/pull/2266 was merged on `pd-store` and incorporate the latest changes in `master`.

For more detailed information, please refer to https://github.com/apache/incubator-hugegraph/pull/2266#issue-1834369489.


---------

Co-authored-by: M <87920097+msgui@users.noreply.github.com>
2023-11-08 18:08:08 +08:00