gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit8e6aa91d8e6aa91dlog: GC1 deploy retrymre8e6aa91d/missions/026-duplicate-titles.md

1.9 KB

  1. # Mission 026 — tracker#31 duplicate title records + deploy.sh waits for the slower boot
  2. Ticket: `curl -s -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/tracker.worldapi.org/tickets/31`
  3. Repo loreana:/media/STORAGE/projects/tracker.worldapi.org (main 2667da0, deployed). Rules + real-data procedure as
  4. tracker mission 002 (kill by PID only, never read .env; git: commit on main only, never push). Ports 8720–8731.
  5. Read reports/025-*.md (w074 found it; tools/count-tmdb-ids.hl).
  6. 1. Find the path(s) that create a second record for a TMDB id we already have (filmography fill, completion, search
  7. import, delta sync, migration leftovers?). Fix them so a TMDB id + type maps to exactly one record (lookup before put;
  8. an index if mpackdb allows). Gate check per path.
  9. 2. Merge existing duplicates in the app's repair path (background, resumable, like 054): keep the record that has
  10. follows/watches/the old short id (else the oldest); move follows, watches, seasons/episodes the keeper lacks, cast;
  11. the other records become tombstones {mergedInto} — NOT deleted; their slugs and short ids 301 to the keeper. Fix the
  12. migrated duplicate SEASONS too (Reacher: the creator's S3 watches sit on a season outside the title's list) — the
  13. watches must show on the keeper's S3 afterwards.
  14. 3. deploy.sh: the URL check must wait for the slower boot (cache warm-up + 100k people index; today it reported 502
  15. twice while live was fine) — e.g. up to 90 s.
  16. 4. Gates green. Real data on a copy: duplicates before/after (count-tmdb-ids → 0), Reacher /my/series shows S03E08,
  17. Archive 81 one page; watches/follows counts of az5b2 before = after; screenshots looked at. README + STATUS, commit.
  18. ## Report — loreana: …/tracker.worldapi.org/reports/026-duplicate-titles.md (+ copy /CONTAINERS/projects/antcolony/reports/latest-w075.md)
  19. Cause, commits, gates, numbers, open points. Foreground only, never wait for notifications.

Branches

Latest commits

  • 8e6aa91dlog: GC1 deploy retrymre
  • 87ad2dc1log: GC1 deployingmre
  • 53f10fb8Merge branch 'gc1-deploy'mre
  • 7fcbf1d2log: GC1 deploy GOmre
  • 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