Skip to content

Refactor referential_integrity.rb (#disable_referential_integrity) #309

@BuonOmo

Description

@BuonOmo

As cockroachdb/cockroach#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions