Project

General

Profile

Actions

tickets #93621

closed

mirrordb - how can table 'filearr' have duplicate rows?

Added by pjessen almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Core services and virtual infrastructure
Target version:
-
Start date:
2021-06-08
Due date:
% Done:

100%

Estimated time:

Description

I was working on #92930 which kept complaining about duplicate rows in 'filearr'.

Given that filearr has a unique index on 'path', it seems this ought to be impossible.
I deleted some 5000+ duplicate rows, but they keep coming back. It is screwing up the mirror scanning, see e.g. #93477 and #93255.
Yesterday whilst working on #93477, I deleted 1686 duplicates (from 'filearr' and 'hash').
Obviously something was changed somewhere, but what?

Actions

Also available in: Atom PDF