• Matt Stancliff's avatar
    Add quicklist info to DEBUG OBJECT · 5127e399
    Matt Stancliff authored
    Added field 'ql_nodes' and 'ql_avg_per_node'.
    
    ql_nodes is the number of quicklist nodes in the quicklist.
    ql_avg_node is the average fill level in each quicklist node. (LLEN / QL_NODES)
    
    Sample output:
    127.0.0.1:6379> DEBUG object b
    Value at:0x7fa42bf2fed0 refcount:1 encoding:quicklist serializedlength:18489 lru:8983768 lru_seconds_idle:3 ql_nodes:430 ql_avg_per_node:511.73
    127.0.0.1:6379> llen b
    (integer) 220044
    5127e399
debug.c 35.8 KB