commit | 27e8e332cf974bff69b86a8d3c5e2f5a6de4125f | [log] [tgz] |
---|---|---|
author | Paul J. Davis <paul.joseph.davis@gmail.com> | Fri Nov 13 14:11:00 2020 -0600 |
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | Tue Nov 17 15:53:52 2020 -0600 |
tree | af0d1c625a45711d8f879e11fdeeaaeaf7f0f8e1 | |
parent | 0e91f2f608d4a920b6c22f1fe1eb9e0ea6982d5a [diff] |
Minimize conflicts while building views This flips the view indexer to grab the database update_seq outside of the update transaction. Previously we would cosntantly refresh the db_seq value on every retry of the transactional loop. We use a snapshot to get the update_seq so that we don't trigger spurious read conflicts with any clients that might be updating the database.