• Oran Agra's avatar
    Make a light weight version (default) of DEBUG HTSTATS (#12212) · 3ca451c4
    Oran Agra authored
    The light version only shows the table sizes, while the pre-existing
    version that shows chain length stats is reachable with the `full` argument.
    
    This should allow looking into rehashing state, even on huge dicts, on
    which we're afraid to run the command for fear of causing a server freeze.
    
    Also, fix a possible overflow in dictGetStats.
    3ca451c4
debug.c 86.8 KB