Lock the wal file for all snapshot transactions, even if they would not
commit062e45b77ad5880a6a82b1587356247d7b2b670e
authorDan Kennedy <danielk1977@gmail.com>
Tue, 28 Nov 2017 13:39:41 +0000 (28 13:39 +0000)
committerDan Kennedy <danielk1977@gmail.com>
Tue, 28 Nov 2017 13:39:41 +0000 (28 13:39 +0000)
treebeee0af36d9424a699a60bd900e4e16756840410
parent1fa8e2c6aa9049a1f6c9ae99db44a93bb91ef204
parent7e0ab343c7a4e3addb9bfccfb08f4595676a63ec
Lock the wal file for all snapshot transactions, even if they would not
otherwise require this, preventing checkpointers and writers from wrapping the
wal file. This means that if one connection has an open snapshot transaction
it is guaranteed that a second connection can open a transaction on the same
snapshot.
src/wal.c