복구 실패 - Data Explorer 문제 가능성

프로덕션 사이트와 개발 사이트 모두 해당 인덱스가 있다고 생각합니다:

[91] pry(main)> PluginStoreRow.connection.indexes(“plugin_store_rows”)
=> [#<ActiveRecord::ConnectionAdapters::IndexDefinition:0x00005556a36241d0
@columns=[“plugin_name”, “key”],
@comment=nil,
@lengths={},
@name=“index_plugin_store_rows_on_plugin_name_and_key”,
@opclasses={},
@orders={},
@table=“plugin_store_rows”,
@type=nil,
@unique=true,
@using=:btree,
@where=nil>]

다음과 같이 삭제했습니다:

PluginStoreRow.find(< id >).destroy

중복 항목을 제거한 후 백업을 생성하고, 깨끗한 설치 상태로 성공적으로 복원할 수 있었습니다. 따라서 백업이 실패하는 원인이 바로 이것임을 파악했습니다. 내일 이 내용을 새로운 Data Explorer 버그 토픽으로 옮길 예정입니다. 다만 재현할 수 있다면 좋았을 텐데 아쉽네요.

저는 데이터베이스 전문가가 아닙니다. 그 ‘unique’ 인덱스에 약점이 있을까요?