• Jan Lindström's avatar
    MDEV-8182: Failing assertion: 1 == UT_LIST_GET_LEN(space->chain) · 925b6412
    Jan Lindström authored
    Analysis: At fil_spage_get_space there is small change that space
    is found from tablespace list but we have not yet created node
    for it (and added it to space->chain) and as we hold fil_system
    mutex here fil_node_create can't continue.
    
    Fixed by allowing UT_LIST_GET_LEN(space->chain) == 0|| 1 and
    introducint two new functions that access filespace list
    and before returning space check that node is also created.
    925b6412
fil0fil.h 48.2 KB