List of race-condition errors related to BiocFileCache

Abierto
#56 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
r
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
R
Estrellas
14
Forks
9
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Bioconductor/BiocFileCache

Todos los issues de Bioconductor/BiocFileCache

Issues similares

Más issues de R

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.