discourse/db
Sam b3920e05e7
PERF: avoid table scan while performing a very large update (#24525)
We were seeing lots of deadlocks deploying this migration. This improves
the situation in 2 ways.

1. ddl transaction is avoided, so we hold locks for far shorter times
2. we operate in chunks of a maximum of 100_000 posts (though it is heavily filtered down)

* improve code so it is clearer
2023-11-23 18:15:40 +11:00
..
fixtures FEATURE: granular webhooks (#23070) 2023-10-09 03:35:31 +00:00
migrate DEV: Convert email_in_min_trust to groups (#24515) 2023-11-22 18:03:28 -07:00
post_migrate PERF: avoid table scan while performing a very large update (#24525) 2023-11-23 18:15:40 +11:00
api_test_seeds.rb DEV: Apply syntax_tree formatting to db/* 2023-01-09 11:59:41 +00:00