• yoav-steinberg's avatar
    Fix Eval scripts defrag (broken 7.0 in RC1) (#10271) · 2eb9b196
    yoav-steinberg authored
    Remove scripts defragger since it was broken since #10126 (released in 7.0 RC1).
    would crash the server if defragger starts in a server that contains eval scripts.
    
    In #10126 the global `lua_script` dict became a dict to a custom `luaScript` struct with an internal `robj`
    in it instead of a generic `sds` -> `robj` dict. This means we need custom code to defrag it and since scripts
    should never really cause much fragmentation it makes more sense to simply remove the defrag code for scripts.
    2eb9b196
server.h 159 KB