Heikki Linnakangas
2d6a022bb8
Don't allow two timeline_delete operations to run concurrently. ( #4313 )
...
If the timeline is already being deleted, return an error. We used to
notice the duplicate request and error out in
persist_index_part_with_deleted_flag(), but it's better to detect it
earlier. Add an explicit lock for the deletion.
Note: This doesn't do anything about the async cancellation problem
(github issue #3478 ): if the original HTTP request dropped, because the
client disconnected, the timeline deletion stops half-way through the
operation. That needs to be fixed, too, but that's a separate story.
(This is a simpler replacement for PR #4194 . I'm also working on the
cancellation shielding, see PR #4314.)
2023-05-27 15:55:43 +03:00
..
2023-04-13 14:34:29 +03:00
2023-05-24 17:46:30 +03:00
2023-05-26 16:19:36 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-03-03 14:53:27 +01:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-05-18 19:56:09 +01:00
2023-04-27 15:26:44 +02:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-05-26 00:05:11 +03:00
2023-05-22 11:59:54 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-05-18 22:38:33 +01:00
2023-05-10 10:27:12 +02:00
2023-04-13 14:34:29 +03:00
2023-04-26 13:46:33 +04:00
2023-04-13 14:34:29 +03:00
2023-04-25 14:10:18 +02:00
2023-04-13 14:34:29 +03:00
2023-05-26 00:05:11 +03:00
2023-04-13 14:34:29 +03:00
2023-04-07 13:47:28 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-05-17 16:19:02 +02:00
2023-05-05 02:57:47 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-05-18 22:38:33 +01:00
2023-04-13 14:34:29 +03:00
2023-05-23 20:01:40 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-05-16 12:53:17 -04:00
2022-08-30 18:25:38 +03:00
2023-05-24 12:47:01 +01:00
2023-04-13 14:34:29 +03:00
2023-05-24 12:47:01 +01:00
2023-05-16 12:53:17 -04:00
2023-05-15 14:16:43 +03:00
2023-05-12 15:28:51 +01:00
2023-04-13 14:34:29 +03:00
2023-04-26 13:46:33 +04:00
2023-05-26 16:19:36 +03:00
2023-05-04 16:16:48 +02:00
2023-05-27 15:55:43 +03:00
2023-05-05 02:57:47 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-05-05 02:57:47 +03:00
2023-05-03 16:25:19 +03:00
2023-05-12 15:28:51 +01:00
2023-04-13 14:34:29 +03:00