File tree 3 files changed +11
-3
lines changed 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,7 @@ profile:
207
207
208
208
3etcd-3meta :
209
209
steps :
210
+ - use : minio
210
211
- use : etcd
211
212
unsafe-no-fsync : true
212
213
port : 2388
@@ -234,9 +235,11 @@ profile:
234
235
port : 25690
235
236
dashboard-port : 25691
236
237
exporter-port : 21250
238
+ - use : compactor
237
239
238
240
3etcd-3meta-1cn-1fe :
239
241
steps :
242
+ - use : minio
240
243
- use : etcd
241
244
unsafe-no-fsync : true
242
245
port : 2388
@@ -264,6 +267,7 @@ profile:
264
267
port : 25690
265
268
dashboard-port : 25691
266
269
exporter-port : 21250
270
+ - use : compactor
267
271
- use : compute-node
268
272
- use : frontend
269
273
Original file line number Diff line number Diff line change @@ -130,10 +130,16 @@ pub async fn rpc_serve(
130
130
. map_err ( |e| anyhow:: anyhow!( "failed to connect etcd {}" , e) ) ?;
131
131
let meta_store = Arc :: new ( EtcdMetaStore :: new ( client) ) ;
132
132
133
+ // `with_keep_alive` option will break the long connection in election client.
134
+ let mut election_options = ConnectOptions :: default ( ) ;
135
+ if let Some ( ( username, password) ) = & credentials {
136
+ election_options = election_options. with_user ( username, password)
137
+ }
138
+
133
139
let election_client = Arc :: new (
134
140
EtcdElectionClient :: new (
135
141
endpoints,
136
- Some ( options ) ,
142
+ Some ( election_options ) ,
137
143
auth_enabled,
138
144
address_info. advertise_addr . clone ( ) ,
139
145
)
Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ impl EtcdService {
57
57
. arg ( & advertise_peer_urls)
58
58
. arg ( "--listen-metrics-urls" )
59
59
. arg ( & exporter_urls)
60
- . arg ( "--name" )
61
- . arg ( "risedev-meta" )
62
60
. arg ( "--max-txn-ops" )
63
61
. arg ( "999999" )
64
62
. arg ( "--max-request-bytes" )
You can’t perform that action at this time.
0 commit comments