Skip to content

[BUG] "Loading RDB produced by version 255.255.255", the "version 255.255.255" is wrong. #909

@zhuleiandy888

Description

@zhuleiandy888

Describe the bug

Loading RDB produced by version 255.255.255

Log context

123209:123209:C 23 Apr 2025 16:53:12.273 # oO0OoO0OoO0Oo KeyDB is starting oO0OoO0OoO0Oo
123209:123209:C 23 Apr 2025 16:53:12.273 # KeyDB version=6.3.4, bits=64, commit=7e7e5e57, modified=0, pid=123209, just started
123209:123209:C 23 Apr 2025 16:53:12.273 # Warning: no config file specified, using the default config. In order to specify a config file use ./src/keydb-server /path/to/keydb.conf
123209:123209:C 23 Apr 2025 16:53:12.273 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
123209:123209:M 23 Apr 2025 16:53:12.274 * Increased maximum number of open files to 10032 (it was originally set to 1024).
123209:123209:M 23 Apr 2025 16:53:12.274 * monotonic clock: POSIX clock_gettime
                                                                      
                  _                                                   
               _-(+)-_                                                
            _-- /   \ --_                                            
         _--   /     \   --_            KeyDB  6.3.4 (7e7e5e57/0) 64 bit     
     __--     /       \     --__                                     
    (+) _    /         \    _ (+)       Running in standalone mode
     |   -- /           \ --   |        Port: 6379
     |     /--_   _   _--\     |        PID: 123209
     |    /     -(+)-     \    |                                     
     |   /        |        \   |        https://docs.keydb.dev       
     |  /         |         \  |                                     
     | /          |          \ |                                     
    (+)_ -- -- -- | -- -- -- _(+)                                     
        --_       |       _--                                         
            --_   |   _--                                             
                -(+)-        
                                                                     
123209:123209:M 23 Apr 2025 16:53:17.354 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
123209:123209:M 23 Apr 2025 16:53:17.354 # Server initialized
123209:123209:M 23 Apr 2025 16:53:17.354 * Loading RDB produced by version 255.255.255
123209:123209:M 23 Apr 2025 16:53:17.354 * RDB age 3543 seconds
123209:123209:M 23 Apr 2025 16:53:17.354 * RDB memory usage when created 4.59 Mb
123209:123209:M 23 Apr 2025 16:53:17.354 # Done loading RDB, keys loaded: 0, keys expired: 0.
123209:123209:M 23 Apr 2025 16:53:17.354 * DB loaded from disk: 0.000 seconds
123209:123218:M 23 Apr 2025 16:53:17.356 * Thread 0 alive.

Additional information

127.0.0.1:6379> info server

redis_version:6.3.4
redis_git_sha1:7e7e5e57
redis_git_dirty:0
redis_build_id:e07f10cdfefa76a9
redis_mode:standalone
os:Linux 4.19.90-2107.6.0.0251.43.oe1.bclinux.x86_64 x86_64
arch_bits:64
multiplexing_api:epoll
atomicvar_api:atomic-builtin
gcc_version:7.3.0

install cmd:

git clone https://github.com/Snapchat/KeyDB.git
cd KeyDB/
git switch main
git checkout v6.3.4

git branch
* (HEAD detached at v6.3.4)
  main

make && make install

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions