• Kirill Smelkov's avatar
    go/transaction: Fix Abort to wait for synchronizers completion · 7e0c944f
    Kirill Smelkov authored
    There was a thinko in transaction.Abort - it was spawning synchronizers
    under a waitgroup, but wg.Wait() call was forgotten. This way, e.g. in
    ZODB if a transaction was aborted, corresponding connection could be not
    yet returned back into DB pool.
    
    Fix it.
    
    Test is TODO for the time when, hopefully, tracetest is generally ready.
    7e0c944f
transaction.go 4.79 KB