Investigate removing the cursor and merge it back with the DataIterator

Đang mở
#306 0 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
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
go
Lĩnh vực
databases

Hướng nghiên cứu

Start by locating Cursor, DataIterator, IterativeVerifier, and InlineVerifier, then read the outdated PR #139 for the earlier design context. Trace how Cursor is used by DataIterator and the verifiers before merging its iteration functionality into DataIterator. Done means Cursor and IterativeVerifier are removed without leaving their former responsibilities or references behind.

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

Mô tả

We used to iterate through the data directly in the DataIterator. At one point, we developed the IterativeVerifier, which caused us to refactor the DataIterator such that the data iteration part became a Cursor, so it can be reused by the IterativeVerifier. With the InlineVerifier superseding the IterativeVerifier, the need for such a Cursor has been eliminated. To simplify the codebase, we should merge the functionality of Cursor back into the DataIterator.

We also need to remove the IterativeVerifier after that. See this outdated PR for reference.

Ngôn ngữ chính
Go
Star
858
Fork
77
Merge trung bình
10 ngày 4 giờ
Pull request đã merge (30 ngày)
4

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 Shopify/ghostferry

Tất cả issue của Shopify/ghostferry

Issue tương tự

Thêm issue về Go

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.