Now that T135699: Schema changes for Echo moderation is done, we need to run a migration script on some of the data in the echo_notification table. This script will probably take a long time to run, my back-of-the-envelope estimate for enwiki is about 100 hours to update 2.2M rows (based on inspecting 3.6M other rows). With a temporary index on notification_bundle_display_hash, we could probably make this a lot faster. Is adding a temporary index for this kind of thing recommended / a thing we do?
For context and more discussion about approaches, see https://gerrit.wikimedia.org/r/#/c/292551/1/maintenance/backfillReadBundles.php