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
..
2022-07-19 11:55:18 -04:00
2021-03-19 18:20:33 -04:00
2021-09-29 11:27:02 -04:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2022-07-27 14:59:27 -04:00
2022-07-14 12:00:30 -04:00
2022-07-04 10:42:40 -04:00
2022-06-15 13:06:12 -04:00
2022-07-19 11:55:18 -04:00
2022-07-04 10:42:40 -04:00
2020-07-21 20:39:10 -04:00
2022-07-15 00:21:44 +02:00
2022-07-04 10:42:40 -04:00
2022-05-27 22:19:17 -04:00
2022-05-18 20:28:25 +02:00
2022-07-19 11:55:18 -04:00
2022-07-14 12:00:30 -04:00
2022-07-19 11:55:18 -04:00
2020-07-21 20:39:10 -04:00
2022-07-19 11:55:18 -04:00
2022-02-22 12:50:43 -05:00
2022-08-01 15:42:39 -04:00
2022-07-14 12:00:30 -04:00
2022-07-29 11:19:26 -04:00
2020-07-21 20:39:10 -04:00
2022-02-19 09:46:49 +00:00
2022-07-19 11:55:18 -04:00
2022-07-19 11:55:18 -04:00
2022-07-04 10:42:40 -04:00
2022-02-19 09:46:49 +00:00
2021-12-07 17:09:58 +02:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-06-07 15:47:17 -04:00
2020-07-21 20:39:10 -04:00
2021-04-29 08:56:54 -04:00
2022-07-29 11:19:26 -04:00
2022-06-15 13:06:12 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-07 07:22:02 -04:00
2022-07-19 11:55:18 -04:00
2022-07-04 10:42:40 -04:00
2022-05-12 14:43:21 +02:00
2020-09-18 16:31:29 -04:00
2022-07-04 10:42:40 -04:00
2022-08-01 15:42:39 -04:00
2022-06-17 21:53:20 +02:00
2022-06-08 21:10:49 +02:00
2020-10-30 13:52:46 -04:00
2022-07-19 11:55:18 -04:00
2022-07-14 12:00:30 -04:00
2022-05-18 08:02:32 -07:00
2020-07-23 11:29:05 -04:00
2022-07-14 12:09:56 +02:00
2022-06-27 16:10:10 -04:00
2022-07-04 10:42:40 -04:00
2022-07-29 11:19:26 -04:00
2022-06-07 15:47:17 -04:00
2022-06-07 15:47:17 -04:00
2020-10-28 13:59:13 -04:00
2022-07-04 10:42:40 -04:00
2020-07-21 20:39:10 -04:00
2022-05-18 20:28:25 +02:00
2022-07-04 10:42:40 -04:00
2022-05-18 14:26:27 -04:00
2022-07-04 10:42:40 -04:00
2022-04-01 15:24:19 -07:00
2020-07-22 14:45:42 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-07 07:22:02 -04:00
2021-05-24 12:56:18 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-27 13:57:59 -07:00
2021-11-03 15:31:39 +01:00
2022-06-07 15:47:17 -04:00
2022-07-04 10:42:40 -04:00
2022-06-07 15:47:17 -04:00
2022-07-14 12:00:30 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2022-07-14 12:00:30 -04:00
2021-10-01 10:18:56 -04:00
2020-07-21 20:39:10 -04:00
2022-07-04 10:42:40 -04:00
2022-04-01 15:24:19 -07:00
2022-07-04 10:42:40 -04:00
2022-04-27 22:21:55 +02:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00