Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi-node auth information sharing function #1350

Merged
merged 20 commits into from
Feb 10, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,11 @@ public static synchronized ServerOptions instance() {

public static final ConfigOption<Integer> RPC_CLIENT_RECONNECT_PERIOD =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also update rpc.client_reconnect_timeout

new ConfigOption<>(
"rpc.client_reconnect_timeout",
"The timeout(in seconds) of rpc client reconnect to rpc " +
"rpc.client_reconnect_period",
"The period(in seconds) of rpc client reconnect to rpc " +
"server.",
rangeInt(1, Integer.MAX_VALUE),
20
10
);

public static final ConfigOption<Integer> RPC_CLIENT_READ_TIMEOUT =
Expand All @@ -288,8 +288,8 @@ public static synchronized ServerOptions instance() {
public static final ConfigOption<Integer> RPC_CLIENT_RETRIES =
new ConfigOption<>(
"rpc.client_retries",
"Failed retry number of rpc client calls to rpc Server.",
rangeInt(1, Integer.MAX_VALUE),
"Failed retry number of rpc client calls to rpc server.",
rangeInt(0, Integer.MAX_VALUE),
3
);

Expand All @@ -309,7 +309,7 @@ public static synchronized ServerOptions instance() {
new ConfigOption<>(
"rpc.protocol",
"Rpc communication protocol, client and server need to " +
"be specified at the same time, and can match.",
"be specified the same value, and can match.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove " and can match"

allowValues("bolt", "rest", "dubbo", "h2c", "http"),
"bolt"
);
Expand All @@ -318,7 +318,7 @@ public static synchronized ServerOptions instance() {
new ConfigOption<>(
"rpc.config_order",
"Sofa rpc configuration file loading order, the larger " +
"the more later loading",
"the more later loading.",
rangeInt(1, Integer.MAX_VALUE),
999
);
Expand Down
23 changes: 0 additions & 23 deletions hugegraph-core/src/main/resources/log4j2.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rpc.server_host=127.0.0.1
rpc.server_port=8893
rpc.server_timeout=30
rpc.client_connect_timeout=20
rpc.client_reconnect_timeout=20
rpc.client_reconnect_period=10
rpc.client_read_timeout=40
rpc.client_retries=3
rpc.client_load_balancer=consistentHash
Expand Down