apache / apache/iotdb

Merge concurrency issues with other deleting data operations

Đang mở
#2,618 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
6.4k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
115

Mô tả

After discussion with @zhanglingzhe0820 , there are three possible concurrency problems related to merge
1. For cluster version, after the follower pulls the snapshot file, it will delete the local overlaped file.
2. The checkttl operation will also delete the expired data.
3. The user initiatively initiates the data deletion operation.

Because the merge operation is to select some files to merge, the above operation may also occur when merging, so the merged files may have been deleted, and NPE will appear.

We need to comprehensively consider the concurrency problem to solve all the above problems.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Issue không nêu tệp, test hay entry point nào. Hãy bắt đầu bằng cách lần theo thao tác merge và ba đường dẫn xóa đồng thời —dọn dẹp snapshot, checkttl và xóa do người dùng khởi tạo— rồi xác định hoàn thành là ngăn NPE đã được báo cáo khi các tệp merge được chọn bị xóa đồng thời.

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

Đánh giá

Công nghệ
java
Lĩnh vực
databases, distributed-systems
Loại issue
Lỗi
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

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.