StatusCommand is very slow after checkout with jgit
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- git, java
- 領域
- database, performance
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Java
- スター
- 427
- フォーク
- 116
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eclipse-jgit/jgit のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
eclipse-jgit/jgit#329 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
eclipse-jgit/jgit#327 ·
-
Repository.create(boolean bare) should provide a no-arg overload that uses isBare()再び着手できるかも @hardikyadav12 が 77 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
eclipse-jgit/jgit#297 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
eclipse-jgit/jgit#293 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
eclipse-jgit/jgit#288 ·
eclipse-jgit/jgit の issue をすべて見る
似ている issue
-
? - Needs Triage bot_watch bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NVIDIA/cudf-spark-jni#5594 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DataONEorg/dataone-indexer#390 ·