Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Make thread_id required in event_push tables #14225

Closed
@clokep

Description

@clokep

Update thread_id column to be non-null:

  1. UPDATE null thread IDs to be 'main' after the previous background update and add NOT NULL constraint.
  2. Drop the thread_id IS NULL indexes (since they're no longer needed).

See #14222 for the code which was backed out, most of it can likely be re-used.

This will re-apply part of #13776.

Metadata

Metadata

Assignees

Labels

A-ThreadsThreaded messagesO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorBlocks non-critical functionality, workarounds exist.T-TaskRefactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions