gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit5965963a5965963adeploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre5965963a/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

  • 5965963adeploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
  • 9b3828aemission 046a: report, LOGmre
  • 4b37356emission 046: franchise seed supersedeCollections reads the curated timelines once (10 s one-tick block at the end of boot)mre
  • ac6268e3mission 046a: re-vendor Hybriel 528bc89f (integration 6): plugins mpackdb/time/web (bin/ git-ignored)mre
  • 322b3293mission 046: photoQueue guard for non-row fetch results (damaged persons index)mre
  • e5b99aecmission 046: photoQueue in slices (people.hl photoQueueStart/Step, jobs.hl photoTick), tests/photoqueue.hlmre
  • 31dcf2admission 045: report, LOGmre
  • 9c3971d0tests/persons-skip-count.hlmre
  • 4d72e365mission 045mre
  • b9cae4c9slices: skip and count non-row values from range(); merge persons pass falls back to iterate; guard testmre
  • 3db7dc31merge w44-jobs-slices into w43-trkmemmre
  • 593dab6fmission 043: report, LOGmre
  • 1a5a4818boot scans back to iterate (slices measured slower: titles 114 s, episodes 141 s, persons failed); lambda per rowmre
  • 03d29893boot scans read primary-key slices (lib/slices.hl from mission 044): iterate is eager too; people view log line back; allShows/allEpisodes stay for toolsmre
  • 23375c58mission 044: report, LOG, STATUSmre
  • c6fd928emission 044: 4096 slices for tables over 200 K rows, 15 ms budget, TRACKER_SLICE_DEPTH for testsmre
  • fb057680mission 044: jobs.hl imports mergeLeft (gate found it), mission file, slices benchmre
  • 0d6293ebmission 043: mission filemre
  • d25bd14amission 044: sliced merge prepare + sliced collections prepare; jobs-dump old/new check + bulk fixturemre
  • 633ee210mission 044: sliced table scans (slices.hl, pk-range slices) for the adult/kind/status/art/credits/details-repair queuesmre