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 392d66a63 fix: inject failed
add cfba0aeac chore: improve code
No new revisions were added by this update.
Summary of changes:
.../hugegraph/api/filter/RedirectFilter.java | 2 +-
.../hugegraph/auth/StandardAuthenticator.java | 2 +-
.../org/apache/hugegraph/core/GraphManager.java | 4 +-
.../org/apache/hugegraph/StandardHugeGraph.java | 6 +-
.../org/apache/hugegraph/election/ClusterRole.java | 8 +--
...eTypeDataAdapter.java => ClusterRoleStore.java} | 4 +-
...aAdapter.java => StandardClusterRoleStore.java} | 42 +++++------
.../election/StandardRoleElectionStateMachine.java | 84 +++++++++++-----------
.../hugegraph/election/StateMachineContext.java | 2 +-
.../travis/conf-raft1/rest-server.properties | 1 -
.../travis/conf-raft2/rest-server.properties | 1 -
.../travis/conf-raft3/rest-server.properties | 1 -
.../core/RoleElectionStateMachineTest.java | 28 ++++----
13 files changed, 91 insertions(+), 94 deletions(-)
rename
hugegraph-core/src/main/java/org/apache/hugegraph/election/{RoleTypeDataAdapter.java
=> ClusterRoleStore.java} (90%)
rename
hugegraph-core/src/main/java/org/apache/hugegraph/election/{StandardRoleTypeDataAdapter.java
=> StandardClusterRoleStore.java} (83%)