Describe the bug

incorrect version Redis 255.255.255

log:

$ src/redis-server 
2131:C 09 Jul 2021 00:12:36.988 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2131:C 09 Jul 2021 00:12:36.988 # Redis version=255.255.255, bits=64, commit=00000000, modified=0, pid=2131, just started
2131:C 09 Jul 2021 00:12:36.988 # Warning: no config file specified, using the default config. In order to specify a config file use src/redis-server /path/to/redis.conf
2131:M 09 Jul 2021 00:12:36.989 * Increased maximum number of open files to 10032 (it was originally set to 256).
2131:M 09 Jul 2021 00:12:36.989 * monotonic clock: POSIX clock_gettime
                _._                                                  
           _.-``__ ''-._                                             
      _.-``    `.  `_.  ''-._           Redis 255.255.255 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._                                  
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 2131
  `-._    `-._  `-./  _.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |           https://redis.io       
  `-._    `-._`-.__.-'_.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |                                  
  `-._    `-._`-.__.-'_.-'    _.-'                                   
      `-._    `-.__.-'    _.-'                                       
          `-._        _.-'                                           
              `-.__.-'                                               

2131:M 09 Jul 2021 00:12:36.993 # Server initialized
2131:M 09 Jul 2021 00:12:36.994 * Loading RDB produced by version 255.255.255
2131:M 09 Jul 2021 00:12:36.994 * RDB age 41 seconds
2131:M 09 Jul 2021 00:12:36.994 * RDB memory usage when created 1.00 Mb
2131:M 09 Jul 2021 00:12:36.994 * DB loaded from disk: 0.001 seconds
2131:M 09 Jul 2021 00:12:36.994 * Ready to accept connections

To reproduce

  1. download the latest unstable version code from the download page of official website. link: unstable.tar.gz
  2. then compile with the general instructions, see the README.md
  3. ./src/redis-server

Expected behavior

Display any right version ID, e.g., Redis 6.2.4 (00000000/0) 64 bit

Additional information

  1. Mac version
$ uname -a
Darwin ... ...  16.7.0 Darwin Kernel Version 16.7.0: Sun Jun  2 20:26:31 PDT 2019; root:xnu-3789.73.50~1/RELEASE_X86_64 x86_64
  1. download date: Jul 6, 2021

Comment From: madolson

Hey, the unstable version of Redis does have the version 255.255.255.255, since it's the unstable version. You should download the latest stable version to get the correct versioning scheme.