List of race-condition errors related to BiocFileCache

Ouverte
#56 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
30/100
Type d'issue
Bug
Clarté
À clarifier
Activité
À l'abandon
Stack technique
r
Domaine
backend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
R
Étoiles
14
Forks
9
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de Bioconductor/BiocFileCache

Toutes les issues de Bioconductor/BiocFileCache

Issues similaires

Plus d'issues R

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.