tracker
All repositories: gitoria
1.9 KB
# Mission 026 — tracker#31 duplicate title records + deploy.sh waits for the slower bootTicket: `curl -s -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/tracker.worldapi.org/tickets/31`Repo loreana:/media/STORAGE/projects/tracker.worldapi.org (main 2667da0, deployed). Rules + real-data procedure astracker mission 002 (kill by PID only, never read .env; git: commit on main only, never push). Ports 8720–8731.Read reports/025-*.md (w074 found it; tools/count-tmdb-ids.hl).1. Find the path(s) that create a second record for a TMDB id we already have (filmography fill, completion, searchimport, delta sync, migration leftovers?). Fix them so a TMDB id + type maps to exactly one record (lookup before put;an index if mpackdb allows). Gate check per path.2. Merge existing duplicates in the app's repair path (background, resumable, like 054): keep the record that hasfollows/watches/the old short id (else the oldest); move follows, watches, seasons/episodes the keeper lacks, cast;the other records become tombstones {mergedInto} — NOT deleted; their slugs and short ids 301 to the keeper. Fix themigrated duplicate SEASONS too (Reacher: the creator's S3 watches sit on a season outside the title's list) — thewatches must show on the keeper's S3 afterwards.3. deploy.sh: the URL check must wait for the slower boot (cache warm-up + 100k people index; today it reported 502twice while live was fine) — e.g. up to 90 s.4. Gates green. Real data on a copy: duplicates before/after (count-tmdb-ids → 0), Reacher /my/series shows S03E08,Archive 81 one page; watches/follows counts of az5b2 before = after; screenshots looked at. README + STATUS, commit.## Report — loreana: …/tracker.worldapi.org/reports/026-duplicate-titles.md (+ copy /CONTAINERS/projects/antcolony/reports/latest-w075.md)Cause, commits, gates, numbers, open points. Foreground only, never wait for notifications.
Branches
Latest commits
- 1fb6664bcompose: TRACKER_QSTATS=1 (GC1 measurement)mre
- 6576c1cdgc1: release the people-view scan lists once the view is builtmre
- 94f8a373gc1: back out the kept episode-id set (no measurable gain on /my/unwatched: 4.69 -> 4.61 GB per 150 loads)mre
- a1a88bd4gc1: search skips the stale-key string while no entry is stale; /my/unwatched asks a kept id set instead of building a key string per episode rowmre
- cd830744gc1: dbSearch: no split / map / list copy per candidate (scores from the stored text, top list touched only when the hit can enter)mre
- 451db7cdgc1: show page and check clicks read the kept watched set instead of building one from a by-value copy of every watchmre
- ddb4127egc1: TRACKER_QSTATS=1 logs queue and cache sizes every 10 s (measurement only)mre
- da60547fstatus: GC1 done, backup bugmre
- e4171021log: GC1 result, backup hard-link bugmre
- f1597214deploy.sh backup: tar --hard-dereference (hot tar stored mpackdb sidecars as hard links to .sessions files)mre
- 6b58571elog: GC windowmre
- 5c8baa1fdeploy lock: hold only around deploy.shmre
- b8dac822log: hybriel#309mre
- bf676d9elog: GC1 startedmre
- c7828541mission GC1mre
- ef949994conductor: neutral ticket rulemre
- 89e91ef3log: RV39 livemre
- ee2b677alog: RV39 deployingmre
- c1c4178cMerge branch 'rv39'mre
- a016e9abReapply "Merge branch 'rv39'"mre