Bulk selection by filter checks access one entry at a time

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

Maintainer thường phản hồi trong vòng 1 ngày

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
72/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
backend, performance

Hướng nghiên cứu

Start with ContentService.Bulk.cs:160-183 and compare its per-entry CanAccessEntryAsync calls with AuthorizationEvaluator.AccessibleEntriesAsync. Trace how selected ids are paged and how access results are used before writes. Done means selecting a page uses a constant number of access queries; verify this with the relevant tests or query-count checks.

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

Mô tả

area:authorization area:content performance type:bug

Problem

ContentService.Bulk.cs:160-183 calls CanAccessEntryAsync for every selected entry (one or two queries each), up to about 11,000 round trips before any write, though AuthorizationEvaluator.AccessibleEntriesAsync checks a set at once.

Proposal

Check each page of ids with AccessibleEntriesAsync.

Acceptance

  • Selecting a page of entries runs a constant number of access queries

Found in the code review of 17 Nov 2026 (P4).

Ngôn ngữ chính
C#
Star
569
Fork
107
Merge trung bình
2 giờ 49 phút
Pull request đã merge (30 ngày)
397

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 fluentcms/FluentCMS

Tất cả issue của fluentcms/FluentCMS

Issue tương tự

Thêm issue về C#

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.