zulip/zerver
Prakhar Pratyush 5e42c8cd2b user_topics: Handle IntegrityError during bulk insertion.
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.
2024-06-17 11:21:30 -07:00
..
actions presence: Improve INSERT conflict handling in do_update_user_presence. 2024-06-16 11:57:47 -07:00
data_import typos: Fix typos caught by mwic. 2024-05-20 13:55:00 -07:00
integration_fixtures/nagios
lib user_topics: Handle IntegrityError during bulk insertion. 2024-06-17 11:21:30 -07:00
management emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
migrations models: Add message type field. 2024-06-10 13:34:23 -07:00
models realm: Prefetch group settings only for "/register" response. 2024-06-16 11:55:28 -07:00
openapi api-docs: Revise the "services" array and "config" object for bots. 2024-06-14 10:27:01 -07:00
tests url_decoding: Add 'is_same_server_message_link' function. 2024-06-17 10:42:32 -07:00
tornado requirements: Upgrade Python requirements. 2024-05-06 12:56:30 -07:00
transaction_tests user_groups: Create NamedUserGroup objects when creating new groups. 2024-04-26 17:03:09 -07:00
views storage: Migrate to typed_endpoint. 2024-06-14 11:24:36 -07:00
webhooks integration: Update topic & content of grafana webhook. 2024-06-12 06:44:14 -07:00
worker missedmessage_emails: Backoff the background worker retries. 2024-05-06 12:50:27 -07:00
__init__.py
apps.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
context_processors.py zerver: Replace occurrences of uri with url in other templates. 2024-05-24 11:18:35 -07:00
decorator.py test_decorators: Replace some deleted tests. 2024-03-29 09:39:34 -07:00
filters.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
forms.py emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
logging_handlers.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
middleware.py portico: Improve message for deactivated, invalid and moved orgs. 2024-05-13 12:44:20 -07:00
signals.py ruff: Fix UP036 Version block is outdated for minimum Python version. 2024-04-01 18:32:52 -07:00