List of race-condition errors related to BiocFileCache

Offen
#56 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
30/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
r
Bereich
backend

Rechercherichtung

Start by reproducing the parallel reverse dependency check using BiocFileCache 2.14.0 on R 4.4.2 for Linux, focusing on the AnnotationHub cache path and the reported bfcrpath()/bfcrid() failure. Collect the warning, error, call trace, and execution conditions into a reproducible example that can guide further debugging.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Background

During the Bioc Technical Advisor Board (TAB) call on 2025-01-02, I asked about race-condition errors related to BiocFileCache. Others reported that they see that at times to, and in order to attach the problem, we need to come up with some reproducible example.

Reproducible examples for race conditions is hard, but the first step towards that is to collect enough breadcrumbs to have something to work with. I'll use this issue to paste in various warnings and error messages that I observe when I run reverse package dependency checks in parallel. Hopefully, that'll eventually give us something to work with.

Examples of BiocFileCache race-condition errors

Package 'atena'

Warning: Corrupt Cache: index file
  cache: /c4/home/henrik/.cache/R/AnnotationHub
  multiple entries for filename: annotationhub.index.rds
  Attempting to clean cache and regenerate

Error in (function (cond)  : 
  error in evaluating the argument 'x' in selecting a method for function 'as.data.frame': ℹ In argument: `rpath = unname(bfcrpath(x, rids = rids))`.
Caused by error in `bfcrpath()`:
! all(rids %in% bfcrid(x)) is not TRUE
Calls: annotaTEs ... .Call -> unname -> bfcrpath -> bfcrpath -> stopifnot

This was with BiocFileCache 2.14.0 on R 4.4.2 for Linux.

Vorherrschende Sprache
R
Sterne
14
Forks
9
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Bioconductor/BiocFileCache

Alle Issues in Bioconductor/BiocFileCache

Ähnliche Issues

Weitere Issues zu R

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.