gristlabs_grist-core/app
Paul Fitzpatrick b6890bed4b (core) serialize document uploads and DocSnapshots.versions() to reduce surprises
Summary:
Occasionally, while the versions of a document are being enumerated,
a new version of the document will be created. This is detected and
triggers re-enumeration and a "surprise" log message. This diff
tweaks uploads to be run in series with DocSnapshots operations.
This means that listing versions would be blocked on an upload, or
vice versa, rather than overlapping. This is simpler and more deterministic.
I'm not sure how the user experience will feel if the operations
are slow.

Test Plan: existing tests pass; will see if surprises are reduced

Reviewers: alexmojaki

Reviewed By: alexmojaki

Subscribers: alexmojaki

Differential Revision: https://phab.getgrist.com/D3551
2022-08-01 15:42:39 -04:00
..
client (core) Keep focus when canceling choice rename 2022-08-01 12:08:36 -07:00
common (core) Add product for new personal plan 2022-07-26 11:33:23 -07:00
gen-server (core) Populate doc title, description and thumbnail in app.html 2022-07-27 13:57:59 -07:00
plugin (core) flesh out getAccessToken API documentation 2022-07-28 08:50:12 -04:00
server (core) serialize document uploads and DocSnapshots.versions() to reduce surprises 2022-08-01 15:42:39 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00