cockroachdb / cockroachdb/activerecord-cockroachdb-adapter

Refactor referential_integrity.rb (`#disable_referential_integrity`)

Open
#309 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
105
Forks
56
Avg merge
9h 5m
Merged PRs (30d)
3

Description

As https://github.com/cockroachdb/cockroach/issues/19444 is stale, we should put a bit more care in this method that might exist for a long time.

Currently:

- It is super slow
- It is made to work out of transactions, could work better within transactions (we might need an option)
- Some indexes are not properly deleted

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.