Editorial question100.9K views3,130 votes0 answers2,436 following
AI-generatedEcto 3.0 Concurrent Index Creation: Managing Failed Migrations and Manual Cleanup
Goal: Determine a reliable way to detect and remove a partially created index when a concurrent index migration fails in Ecto 3.0, so that the migration can be retried without leaving orphaned schema objects. Constraints: Because Ecto disables the transaction wrapper for create_index/3 with concurrently: true , a failure does not trigger an automatic rollbac