兼容redis-4.0.12中,cluster nodes 命令中端口后面会有@符号 #185
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
redis 4.0.12版本中 cluster nodes命令结果如下。在端口后面会多一个@符号,
10.1.21.159:6389> cluster nodes
e759e0104fc4976e6c14c595f849b8941bee834c 10.1.21.164:6394@16394 master - 0 1556092972452 0 connected 5462-10923
052f956f2e605afb8f68ade62b97fdc6f5315a8c 10.1.21.164:6393@16393 master - 0 1556092972000 6 connected 0-5461
927fabf4b56eb833ea85c5a70ca67960b30fddba 10.1.21.171:6384@16384 slave a1cd8349183aa30dfd078d3fb719848dc7a5a5cd 0 1556092974456 7 connected
9352f8f18e9a6e4db4a1e73d5332842b256f7e1b 10.1.21.171:6383@16383 slave e759e0104fc4976e6c14c595f849b8941bee834c 0 1556092973453 4 connected
4290b10ac70f9a50ad2362a6ab62604a631baa76 10.1.21.159:6389@16389 myself,slave 052f956f2e605afb8f68ade62b97fdc6f5315a8c 0 1556092974000 1 connected
a1cd8349183aa30dfd078d3fb719848dc7a5a5cd 10.1.21.159:6390@16390 master - 0 1556092973000 7 connected 10924-16383