• Jacob Mathew's avatar
    MDEV-12900: spider tests failed in buildbot with valgrind · 4d576d9d
    Jacob Mathew authored
    The failures with valgrind occur as a result of Spider sometimes using the
    wrong transaction for operations in background threads that send requests to
    the data nodes.  The use of the wrong transaction caused the networking to the
    data nodes to use the wrong thread in some cases.  Valgrind eventually
    detects this when such a thread is destroyed before it is used to disconnect
    from the data node by that wrong transaction when it is freed.
    
    I have fixed the problem by correcting the transaction used in each of these
    cases.
    
    Author:
      Jacob Mathew.
    
    Reviewer:
      Kentoku Shiba.
    4d576d9d
spd_conn.cc 145 KB