Commit 593ba01
committed
Check for
DragonflyDB will report to be Redis but also include `dragonfly_version`
in the hello response, which we can use to identify the fork.
Also fix parsing of the `HELLO` response for `serverName()` and
`serverVersion()`. Starting in Redis 8.0 there seem to always be modules
running, which the previous function was not expecting or parsing.dragonfly_version in HELLO response1 parent b48aa0d commit 593ba01Copy full SHA for 593ba01
3 files changed
+29-14Lines changed: 29 additions & 14 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- tests
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+26-13Lines changed: 26 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2018 | 2018 | |
2019 | 2019 | |
2020 | 2020 | |
2021 | | - |
2022 | 2021 | |
| 2022 | + |
2023 | 2023 | |
2024 | | - |
2025 | | - |
2026 | | - |
2027 | | - |
2028 | | - |
2029 | | - |
2030 | | - |
2031 | | - |
| 2024 | + |
| 2025 | + |
2032 | 2026 | |
2033 | 2027 | |
2034 | | - |
| 2028 | + |
| 2029 | + |
| 2030 | + |
| 2031 | + |
| 2032 | + |
| 2033 | + |
| 2034 | + |
2035 | 2035 | |
2036 | 2036 | |
2037 | 2037 | |
2038 | 2038 | |
2039 | | - |
2040 | | - |
| 2039 | + |
| 2040 | + |
| 2041 | + |
| 2042 | + |
| 2043 | + |
| 2044 | + |
| 2045 | + |
2041 | 2046 | |
2042 | 2047 | |
2043 | 2048 | |
| ||
2063 | 2068 | |
2064 | 2069 | |
2065 | 2070 | |
| 2071 | + |
| 2072 | + |
| 2073 | + |
| 2074 | + |
| 2075 | + |
| 2076 | + |
| 2077 | + |
| 2078 | + |
2066 | 2079 | |
2067 | 2080 | |
2068 | 2081 | |
| ||
4302 | 4315 | |
4303 | 4316 | |
4304 | 4317 | |
4305 | | - |
| 4318 | + |
4306 | 4319 | |
4307 | 4320 | |
4308 | 4321 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2131 | 2131 | |
2132 | 2132 | |
2133 | 2133 | |
2134 | | - |
| 2134 | + |
2135 | 2135 | |
2136 | 2136 | |
2137 | 2137 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2476 | 2476 | |
2477 | 2477 | |
2478 | 2478 | |
| 2479 | + |
2479 | 2480 | |
2480 | 2481 | |
2481 | 2482 | |
| ||
2486 | 2487 | |
2487 | 2488 | |
2488 | 2489 | |
| 2490 | + |
2489 | 2491 | |
2490 | 2492 | |
2491 | 2493 | |
|
0 commit comments