Draft: output: update commit_seq before impl->commit()
This ensures backends get up-to-date commit sequence number when their commit handler is called. If a commit has failed, just roll the number back.
Fixes #3340
Edited by Kirill Primak
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
This ensures backends get up-to-date commit sequence number when their commit handler is called. If a commit has failed, just roll the number back.
Fixes #3340