StatusCommand is very slow after checkout with jgit
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- git, java
- Ambito
- database, performance
Direzione di ricerca
Start by comparing the cited commit 038353ea91fc4643c8e94215bdafccb8e34ea755 with JGit 7.7.1, focusing on CheckoutCommand, StatusCommand, and DirCache.writeTo. Trace why checkout leaves index timestamps that trigger smudgeRacilyClean and content comparisons during status; done when checkout writes correct timestamps and status no longer incurs the reported slowdown.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Version
7.8.0
Operating System
Windows, Linux/Unix
Bug description
Hello,
sorry for my bad english.
I think, there is a regression with commit:
https://github.com/eclipse-jgit/jgit/commit/038353ea91fc4643c8e94215bdafccb8e34ea755
After checkout with jgit (CheckoutCommand), StatusCommand is very slow.
Actual behavior
With CheckoutCommand many entries in index are smudge because smudeSec is befoe entryMtimeSec:
so smudgeRacilyClean is called in DirCache.writeTo
This leads in StatusCommand to compare the file content.
Expected behavior
With checkout the index should be clean and all files in the Index should have the correct timestamp.
Relevant log output
Other information
In 7.7.1 the problem is not present. The index is written correct.
- Lingua principale
- Java
- Stelle
- 427
- Fork
- 116
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di eclipse-jgit/jgit
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
eclipse-jgit/jgit#329 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
eclipse-jgit/jgit#327 ·
-
Repository.create(boolean bare) should provide a no-arg overload that uses isBare()Forse di nuovo libera @hardikyadav12 l’ha presa 77 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
eclipse-jgit/jgit#297 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
eclipse-jgit/jgit#293 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
eclipse-jgit/jgit#288 ·
Tutte le issue di eclipse-jgit/jgit
Issue simili
-
? - Needs Triage bot_watch bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NVIDIA/cudf-spark-jni#5594 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Upgrade solr to 9.11.0Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
DataONEorg/dataone-indexer#390 ·