File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
modules/cluster-monitor/strategies Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
export const RECOMMENDATION_NAMES = Object . freeze ( {
2
+ // todo: moved SET_PASSWORD to top [acl list].
3
+ // Investigate why there is no response when placed between ZSET_HASHTABLE_TO_ZIPLIST and RSA
4
+ SET_PASSWORD : 'setPassword' ,
2
5
LUA_SCRIPT : 'luaScript' ,
3
6
BIG_HASHES : 'bigHashes' ,
4
7
BIG_STRINGS : 'bigStrings' ,
@@ -12,7 +15,6 @@ export const RECOMMENDATION_NAMES = Object.freeze({
12
15
COMPRESS_HASH_FIELD_NAMES : 'compressHashFieldNames' ,
13
16
COMPRESSION_FOR_LIST : 'compressionForList' ,
14
17
ZSET_HASHTABLE_TO_ZIPLIST : 'zSetHashtableToZiplist' ,
15
- SET_PASSWORD : 'setPassword' ,
16
18
RTS : 'RTS' ,
17
19
REDIS_VERSION : 'redisVersion' ,
18
20
TRY_RDI : 'tryRDI' ,
@@ -21,7 +23,6 @@ export const RECOMMENDATION_NAMES = Object.freeze({
21
23
STRING_TO_JSON : 'stringToJson' ,
22
24
SEARCH_VISUALIZATION : 'searchVisualization' ,
23
25
SEARCH_HASH : 'searchHash' ,
24
-
25
26
} ) ;
26
27
27
28
export const ONE_NODE_RECOMMENDATIONS = [
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ export class ClusterShardsInfoStrategy extends AbstractInfoStrategy {
35
35
const node = {
36
36
id : nodeObj . id ,
37
37
host : nodeObj . ip ,
38
- port : nodeObj . port || nodeObj . get ( 'tls-port' ) ,
39
- tlsPort : nodeObj . get ( 'tls-port' ) ,
38
+ port : nodeObj . port || nodeObj [ 'tls-port' ] ,
39
+ tlsPort : nodeObj [ 'tls-port' ] ,
40
40
role : nodeObj . role === 'master' ? NodeRole . Primary : NodeRole . Replica ,
41
41
health : nodeObj . health ,
42
42
} ;
You can’t perform that action at this time.
0 commit comments