Dynamometer does not support negative block id's
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java
- Lĩnh vực
- distributed-systems, testing-qa
Hướng nghiên cứu
Bắt đầu với XMLParser.java để hiểu cách các ID block âm được phân tích, sau đó kiểm tra SimulatedMultiStorageFSDataset.java và thao tác tra cứu block-to-storage của nó. Xác minh rằng các ID âm chọn một storage mô phỏng hợp lệ và được lấy thông qua block pool map thích hợp mà không gây ra ArrayIndexOutOfBoundsException. Hoàn tất khi các DataNodes mô phỏng báo cáo các block có ID âm.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Dynamometer does NOT support negative block id's, which results in blocks with negative id's never being reported by any simulated DataNode.
A change has been made to XMLParser.java in our branch of Dynamometer so that negative block id's are also dealt with.
Due to the change made above, we have to change SimulatedMultiStorageFSDataset.java as well.
In Dynamometer, each DataNode has more than 1 SimulatedStorage to manage, and this following Map is maintained by each SimulatedStorage in a simulated DataNode. Moreover, a SimulatedStorage could be involved in multiple blockpools.
Map<blockpool id, Map<block, block information>>
To access a given block (associated with a blockpool id) on a simulated DataNode, we have to
( i) determine which SimulatedStorage this given block belongs to according to its block id, and then
(ii) use the associated blockpool id to retrive Map<block, block information> corresponding to the block to be accessed.
The SimulatedStorage's managed by a DataNode are arranged on an ArrayList and each SimulatedStorage on the ArrayList could be accessed by a "non-negative" integer upper-bounded by the size of that ArrayList, exclusive. To determine the SimulatedStorage a given block belongs to, the original Dynamometer simply uses (block id % number of simulated storages) as the index to access the ArrayList mentioned above. Hence, once we have a negative block id, an ArrayIndexOutOfBoundsException will be triggered. Some changes have been made in SimulatedMultiStorageFSDataset.java so that a negative block id is properly taken care of.
- Ngôn ngữ chính
- Java
- Star
- 134
- Fork
- 34
- 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
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của linkedin/dynamometer
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
linkedin/dynamometer#106 ·
-
Executing Dynamometer workloadĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
linkedin/dynamometer#104 · 4 bình luận ·
-
Improve Dynamometer compatibility with the 2.x lineCó thể làm lại được @xkrogen đã nhận 2635 ngày trước và không có pull request nào đang mở. Đang mở
linkedin/dynamometer#101 · 2 bình luận · 1 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
linkedin/dynamometer#100 · 3 bình luận ·
-
Zombie simulated datanodeĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
linkedin/dynamometer#81 · 1 bình luận ·
Tất cả issue của linkedin/dynamometer
Issue tương tự
-
`RedisList.reversed()` view returns an empty `range` and `trim` removes all elementsCó thể đã có người làm @CCCLL đã nhận hôm nay. Đang mởstatus: waiting-for-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
spring-projects/spring-data-redis#3461 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
devops-thiago/ThrillhouseBot#1093 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Missing htmx attribute processorĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
wimdeblauwe/htmx-spring-boot#205 ·
-
[BUG] 增量 SSE 解析器未识别单独 CR 换行,导致事件无法及时交付Có thể đã có người làm @king-wwwhhh đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
langchain4j/langchain4j#6669 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement tech-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Albertinesilva/backend-engineering-journey-java-springboot#41 ·