Merge can create duplicate Tracks (still) #53

Open
opened 1 year ago by inhji · 2 comments
inhji commented 1 year ago
There is no content yet.
inhji added the
Bug
label 1 year ago
inhji added the
On Hold
label 1 year ago

Still a problem, not a huge one, though.

The Problem is while matching tracks, given we have something live this

Old Tracks New Tracks
Track 1 Track 1
Track 2
Track 3 Track 3
Track 4
Track 5

where all tracks are actually the same track, which new track do we actually merge the others into?

See: https://git.inhji.de/inhji/tomie/src/branch/master/apps/listens/lib/listens/workers/listenbrainz/handler.ex#L192

Still a problem, not a huge one, though. The Problem is while matching tracks, given we have something live this **Old Tracks** **New Tracks** Track 1 Track 1 Track 2 Track 3 Track 3 Track 4 Track 5 where all tracks are actually the *same* track, which new track do we actually merge the others into? See: https://git.inhji.de/inhji/tomie/src/branch/master/apps/listens/lib/listens/workers/listenbrainz/handler.ex#L192

For now, we just use the first new track, but this creates orphaned tracks or at least inaccurate stats at the track level.

For now, we just use the first new track, but this creates orphaned tracks or at least inaccurate stats at the track level.
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.