apache / incubator-hugegraph

A graph database that supports more than 100+ billion data, high performance and scalability (Include OLTP Engine & REST-API & Backends)
https://hugegraph.apache.org
Apache License 2.0
2.58k stars 512 forks source link

fix(server): reinitialize the progress to set up graph auth friendly #2411

Closed Z-HUANT closed 5 months ago

Z-HUANT commented 6 months ago

Purpose of the PR

修复需要重新初始化数据库才能设置 auth 的问题 fixed https://github.com/apache/incubator-hugegraph/issues/125#issuecomment-717713131

Main Changes

Switch to auth-mode without removing graph data (不需要重新初始化数据库就可以设置 auth)

Verifying these changes

Does this PR potentially affect the following parts?

影响 init-store

Documentation Status

Doc:https://github.com/apache/incubator-hugegraph-doc/pull/320

codecov[bot] commented 6 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (7965aac) 66.23% compared to head (4c00dea) 66.22%. Report is 1 commits behind head on master.

Files Patch % Lines
.../main/java/org/apache/hugegraph/cmd/InitStore.java 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2411 +/- ## ============================================ - Coverage 66.23% 66.22% -0.01% + Complexity 830 828 -2 ============================================ Files 511 511 Lines 42595 42596 +1 Branches 5942 5942 ============================================ - Hits 28211 28210 -1 - Misses 11568 11572 +4 + Partials 2816 2814 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.