This is an automated email from the ASF dual-hosted git repository.
vaughn pushed a change to branch zy_dev
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git
from 4a832efa0 feat: support task auto manager by server role
add 23b96692f chore: improve
No new revisions were added by this update.
Summary of changes:
.../apache/hugegraph/auth/ConfigAuthenticator.java | 2 +-
.../org/apache/hugegraph/config/ServerOptions.java | 2 +-
.../org/apache/hugegraph/core/GraphManager.java | 29 +++++++++++---------
.../StandardRoleTypeDataAdapter.java} | 8 +++---
.../StandardStateMachineCallback.java} | 31 +++++++++++-----------
.../election/HugeRoleStateMachineConfig.java | 12 ++++-----
.../election/RoleElectionStateMachineImpl.java | 8 +++---
.../hugegraph/election/StateMachineCallback.java | 8 +++---
.../apache/hugegraph/task/ServerInfoManager.java | 2 +-
.../org/apache/hugegraph/task/TaskManager.java | 16 ++++++-----
.../core/RoleElectionStateMachineTest.java | 8 +++---
11 files changed, 67 insertions(+), 59 deletions(-)
rename
hugegraph-api/src/main/java/org/apache/hugegraph/core/{RoleTypeDataAdapterImpl.java
=> serverrole/StandardRoleTypeDataAdapter.java} (96%)
rename
hugegraph-api/src/main/java/org/apache/hugegraph/core/{StateMachineCallbackImpl.java
=> serverrole/StandardStateMachineCallback.java} (71%)