Closed rtsisyk closed 7 years ago
Blocked by #1908 and #1572 as @kostja said.
Discussed today. Moving to 1.7.5.
We also need to support read_views between two prepared, but not committed transactions. That ruins the idea of using the same LSN_INFINITY for all tuple
The steps are:
2nd part of 6.4 must go to another ticket.
vy_tx_write is executed AFTER wal_write(), therefore it is not possible to rollback this transaction. On the other hand, vy_mem_tree is indexed by (key, lsn) pair and LSN is assigned by WAL writer, so there is not way to update vy_mem_tree BEFORE wal_write().
We agreed we will move vy_tx_write() to vy_prepare(), and call before wal_write(). We will use LSN_INFINITY when putting the tuple into mem. Collateral problems: