mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
When there was a race during bulk insertion of UserTopic rows, it resulted in Integrity error. We update the 'last_updated' and 'visibility_policy' columns for conflicting rows. We also removed the separate update query to update visibility_policy because now the new SQL query can handle the updates too. This leads to have fewer round trips to the database.
10 KiB
10 KiB