Steven Masley
854044e811
chore: fix concurrent CommitQuota transactions for unrelated users/orgs ( #15261 )
...
The failure condition being fixed is `w1` and `w2` could belong
to different users, organizations, and templates and still cause a
serializable failure if run concurrently. This is because the old query
did a `seq scan` on the `workspace_builds` table. Since that is the
table being updated, we really want to prevent that.
So before this would fail for any 2 workspaces. Now it only fails if
`w1` and `w2` are owned by the same user and organization.
2024-11-01 11:05:49 -04:00
..
2024-10-25 17:14:35 +01:00
2023-11-20 19:16:18 +00:00
2024-10-31 17:55:42 -05:00
2024-10-05 06:58:43 +04:00
2022-08-22 15:02:50 -07:00
2024-10-25 12:19:50 +01:00
2024-05-13 14:37:51 -04:00
2024-01-19 16:04:19 -07:00
2024-10-22 09:20:54 -05:00
2024-10-25 18:27:34 -04:00
2024-10-22 09:20:54 -05:00
2024-09-18 21:47:53 +10:00
2024-09-27 14:06:16 -05:00
2024-06-05 11:25:02 -05:00
2024-10-24 16:26:16 -04:00
2024-10-31 17:55:42 -05:00
2024-09-16 13:01:46 -05:00
2024-09-16 13:01:46 -05:00
2024-09-27 14:06:16 -05:00
2024-09-17 14:08:33 -05:00
2024-06-11 08:55:28 -05:00
2024-10-22 09:20:54 -05:00
2024-08-26 13:05:03 -05:00
2024-09-03 09:09:38 +04:00
2024-09-03 09:09:38 +04:00
2024-10-01 13:43:47 +00:00
2024-08-05 16:18:45 +02:00
2024-09-27 14:06:16 -05:00
2024-07-25 16:07:53 -05:00
2024-09-27 14:06:16 -05:00
2024-09-20 12:45:31 -04:00
2024-09-27 14:06:16 -05:00
2024-10-17 13:57:52 -04:00
2024-04-17 13:30:32 -04:00
2024-05-15 09:46:35 -05:00
2024-09-27 14:06:16 -05:00
2024-09-04 18:17:53 +10:00
2024-10-25 18:27:34 -04:00
2024-10-25 18:27:34 -04:00
2024-10-24 13:12:12 +01:00
2024-10-23 17:03:17 -05:00
2024-09-27 14:06:16 -05:00
2024-09-16 19:03:25 -05:00
2024-09-27 14:06:16 -05:00
2024-08-26 13:05:03 -05:00
2024-07-30 10:44:02 -06:00
2024-08-26 13:05:03 -05:00
2023-12-08 23:03:46 -06:00
2024-05-02 14:11:33 -04:00
2023-04-04 15:07:29 -05:00
2024-10-25 17:14:35 +01:00
2024-10-25 17:14:35 +01:00
2024-02-16 18:43:07 +00:00
2024-11-01 11:05:49 -04:00
2024-10-25 12:14:15 -04:00
2024-10-22 09:20:54 -05:00