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 ac5587110 chore: improve
add 6882e067b chore:redirect CUD task to master
No new revisions were added by this update.
Summary of changes:
.../hugegraph/api/filter/RedirectFilter.java | 68 ++++++++++++++++++++++
.../api/filter/RedirectFilterDynamicFeature.java | 29 ++++-----
.../org/apache/hugegraph/api/job/AlgorithmAPI.java | 2 +
.../org/apache/hugegraph/api/job/ComputerAPI.java | 2 +
.../org/apache/hugegraph/api/job/GremlinAPI.java | 2 +
.../org/apache/hugegraph/api/job/RebuildAPI.java | 2 +
.../java/org/apache/hugegraph/api/job/TaskAPI.java | 3 +
.../apache/hugegraph/api/schema/EdgeLabelAPI.java | 4 ++
.../apache/hugegraph/api/schema/IndexLabelAPI.java | 4 ++
.../hugegraph/api/schema/PropertyKeyAPI.java | 4 ++
.../hugegraph/api/schema/VertexLabelAPI.java | 4 ++
.../apache/hugegraph/server/ApplicationConfig.java | 3 +
.../org/apache/hugegraph/StandardHugeGraph.java | 1 +
.../org/apache/hugegraph/config/CoreOptions.java | 8 +++
.../java/org/apache/hugegraph/election/Config.java | 2 +
.../GlobalMasterInfo.java} | 46 +++++++--------
.../election/HugeRoleStateMachineConfig.java | 9 ++-
.../apache/hugegraph/election/RoleTypeData.java | 13 ++++-
.../election/StandardRoleElectionStateMachine.java | 41 ++++++++++++-
.../election/StandardRoleTypeDataAdapter.java | 9 ++-
.../election/StandardStateMachineCallback.java | 20 +++++++
.../hugegraph/election/StateMachineContext.java | 10 ++++
.../travis/conf-raft1/rest-server.properties | 1 +
.../travis/conf-raft2/rest-server.properties | 1 +
.../travis/conf-raft3/rest-server.properties | 1 +
.../core/RoleElectionStateMachineTest.java | 5 ++
26 files changed, 244 insertions(+), 50 deletions(-)
create mode 100644
hugegraph-api/src/main/java/org/apache/hugegraph/api/filter/RedirectFilter.java
copy hugegraph-core/src/main/java/org/apache/hugegraph/job/SysJob.java =>
hugegraph-api/src/main/java/org/apache/hugegraph/api/filter/RedirectFilterDynamicFeature.java
(61%)
copy
hugegraph-core/src/main/java/org/apache/hugegraph/{type/define/NodeRole.java =>
election/GlobalMasterInfo.java} (50%)