Commit 633b776
committed
(fix): purge document cache again after transaction commit
The purge inside updateDocument and deleteDocument runs within the
transaction, before the write is visible. A concurrent reader landing
between that purge and the commit reads the old row and re-caches it,
and with no purge following, the stale version is served for up to 24
hours. Purging again after the transaction closes that window.1 parent 06b2195 commit 633b776
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6365 | 6365 | | |
6366 | 6366 | | |
6367 | 6367 | | |
| 6368 | + | |
| 6369 | + | |
| 6370 | + | |
6368 | 6371 | | |
6369 | 6372 | | |
6370 | 6373 | | |
| |||
7751 | 7754 | | |
7752 | 7755 | | |
7753 | 7756 | | |
| 7757 | + | |
| 7758 | + | |
7754 | 7759 | | |
7755 | 7760 | | |
7756 | 7761 | | |
| |||
0 commit comments