Ref rewinds observed in high traffic gerrit environments
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
Línea de trabajo
Start in org.eclipse.jgit.storage.file.RefDirectory and RefTransaction: trace where the fast-forward check happens relative to the lock/compare-and-swap write on a ref log, since a meta ref can pass the check then be overwritten by a concurrent update. Reproduce with concurrent RefUpdate/RefTransaction threads in the org.eclipse.jgit.test storage.file package. Done when the losing update either throws LockFailureException or is applied after the winner in order, plus a regression test proving no rewind.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Version
6.10
Operating System
Linux/Unix
Bug description
In a high traffic gerrit environment we are observing rare cases when refs get rewinded.
Actual behavior
In high traffic gerrit environment when multiple actions happen on a change, possibly a comment/vote and them submitting the change, We did see through our logs that meta ref did update to point to new commit created using submit strategy and then was rewinded to reflect the other meta ref update.
Expected behavior
Concurrent updates should either fail with a lock failure or should be applied in correct order.
Relevant log output
Other information
No response
- Lenguaje dominante
- Java
- Estrellas
- 427
- Forks
- 116
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de eclipse-jgit/jgit
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
eclipse-jgit/jgit#329 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
eclipse-jgit/jgit#327 ·
-
Repository.create(boolean bare) should provide a no-arg overload that uses isBare()Quizá libre de nuevo @hardikyadav12 la tomó hace 77 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
eclipse-jgit/jgit#297 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
eclipse-jgit/jgit#293 · 2 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
eclipse-jgit/jgit#288 ·
Todos los issues de eclipse-jgit/jgit
Issues similares
-
? - Needs Triage bot_watch bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NVIDIA/cudf-spark-jni#5594 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Upgrade solr to 9.11.0Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
DataONEorg/dataone-indexer#390 ·