Skip to content
Snippets Groups Projects
  • Vladislav Shpilevoy's avatar
    3e1ba96e
    wal: introduce JOURNAL_ENTRY_ERR_CASCADE · 3e1ba96e
    Vladislav Shpilevoy authored
    A transaction in WAL thread could be rolled back not only due to
    an IO error. But also if there was a cascading rollback in
    progress.
    
    The patch makes such case use a special error code turned into its
    own diag when it reaches the TX thread. Usage of ER_WAL_IO wasn't
    correct here.
    
    Part of #6027
    3e1ba96e
    History
    wal: introduce JOURNAL_ENTRY_ERR_CASCADE
    Vladislav Shpilevoy authored
    A transaction in WAL thread could be rolled back not only due to
    an IO error. But also if there was a cascading rollback in
    progress.
    
    The patch makes such case use a special error code turned into its
    own diag when it reaches the TX thread. Usage of ER_WAL_IO wasn't
    correct here.
    
    Part of #6027