Fix bug https://bugs.launchpad.net/tarantool/+bug/837315
Fix bug https://bugs.launchpad.net/tarantool/+bug/837315

Fix bug https://bugs.launchpad.net/tarantool/+bug/837315

When write_inbox() failed, wal_write() would throw
an exception.

This had two effects:
first, a call to confirm_lsn() would confirm lsn
of the failed transaction out of order (indeed, nothing
is written, so this lsn is confirmed before lsns
of transactions which are waiting on write to complete)

second, txn_rollback() was called with fiber->mod_data.txn == 0.

The second led to an assertion failure.

The fix only fixes the second effect, so that an error
is sent to the client, and the server does not terminate.

It's not possible to come up with a serial test
case for the bug, since to fill up all inboxes one
needs many concurrent writes.

nvoron23/tarantool,rtsisyk/tarantool,KlonD90/tarantool,guard163/tarantool,ocelot-inc/tarantool,KlonD90/tarantool,guard163/tarantool,Sannis/tarantool,Sannis/tarantool,rtsisyk/tarantool,nvoron23/tarantool,mejedi/tarantool,KlonD90/tarantool,guard163/tarantool,dkorolev/tarantool,condor-the-bird/tarantool,ocelot-inc/tarantool,condor-the-bird/tarantool,condor-the-bird/tarantool,rtsisyk/tarantool,Sannis/tarantool,nvoron23/tarantool,vasilenkomike/tarantool,mejedi/tarantool,KlonD90/tarantool,rtsisyk/tarantool,mejedi/tarantool,Sannis/tarantool,nvoron23/tarantool,mejedi/tarantool,vasilenkomike/tarantool,dkorolev/tarantool,condor-the-bird/tarantool,dkorolev/tarantool,dkorolev/tarantool,guard163/tarantool,vasilenkomike/tarantool,dkorolev/tarantool,KlonD90/tarantool,ocelot-inc/tarantool,vasilenkomike/tarantool,vasilenkomike/tarantool,condor-the-bird/tarantool,nvoron23/tarantool,ocelot-inc/tarantool,guard163/tarantool,Sannis/tarantool,nvoron23/tarantool