git clone from concurrent clients within container causes socket close error

Đang mở
#240 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
git, java
Lĩnh vực
networking

Hướng nghiên cứu

The report gives no JGit source file or test; start by reading the clone-related comments and tracing the clone path involved in concurrent operations. Try to reproduce the socket-close failure with 10 concurrent clients on JGit 6.10.1 and compare against 5.11.0. Done means identifying and fixing the regression with a test that verifies concurrent clones succeed.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

need info

jgit version 6.10.1.202505221210-r with java 11 results in 1 or 2 failures ( socker close error) when 10 clients execute git clone concurrently within same container. 5.11.0.202103091610-r did not have this issue

java.lang.RuntimeException: Failed to clone git repository: https://gitlaburl......./numbus.git, Reason: Socket closed
at com.dale.numbus.deployment.DeployService.prepareForDeployment(DeployService.java:152)
at com.dale.numbus.deployment.DeployService.startDeployment(DeployService.java:64)
at com.dale.numbus.deployment.DeploymentController.lambda$start$0(DeploymentController.java:140)
at io.micronaut.scheduling.instrument.InvocationInstrumenterWrappedRunnable.run(InvocationInstrumenterWrappedRunnable.java:47)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)

Ngôn ngữ chính
Java
Star
427
Fork
116
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-jgit/jgit

Tất cả issue của eclipse-jgit/jgit

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.