Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Re-Open issue: "DurableTaskClient.PurgeAllInstancesAsync causing a lot of warnings: 404 The specified container does not exist." https://github.com/microsoft/durabletask-dotnet/issues/475

Đang mở
#1,296 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 3 ngày

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
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
azure, csharp
Lĩnh vực
backend, cloud

Hướng nghiên cứu

Bắt đầu với bản tái hiện PurgeAllInstancesAsync được cung cấp và kiểm tra storage account Azure Function được liên kết với client. Xác định yêu cầu blob container nào trả về ContainerNotFound, sau đó xác định xem container đó có nên tồn tại hay không và liệu cảnh báo có được mong đợi hay cho thấy vấn đề của framework.

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

Mô tả

Not sure how to re-open an issue from durabletask-dotnet, but @YunchuWang told me to re-open issue https://github.com/microsoft/durabletask-dotnet/issues/475 here, if there is still a problem. So, because there is still a problem/question I re-open the issue here.

When running the code below I get a lot of warnings.

Code:

public async Task PurgeAllInstances(DurableTaskClient client, DateTime fromDate, DateTime toDate, IEnumerable<OrchestrationRuntimeStatus> runtimeStatus)
  {  
      PurgeInstancesFilter filter = new PurgeInstancesFilter(fromDate, toDate, runtimeStatus);
      PurgeInstanceOptions purgeInstanceOptions = new PurgeInstanceOptions();
      PurgeResult purgeResult = await client.PurgeAllInstancesAsync(filter, purgeInstanceOptions, CancellationToken.None).ConfigureAwait(false);
  
  }

Warning:

Severity level: Warning, Message: Error response [9c10a80f-58e6-4378-bcb8-035c7b056089] 404 The specified container does not exist. (00.0s)
Server:Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id:b37ab98c-b01e-0009-1e8e-36c22c000000
x-ms-client-request-id:9c10a80f-58e6-4378-bcb8-035c7b056089
x-ms-version:2025-05-05
x-ms-error-code:ContainerNotFound
Date:Mon, 06 Oct 2025 06:59:59 GMT
Content-Length:225
Content-Type:application/xml

@YunchuWang ask me: "can you check in your azure function storage account if any blob containers is missing?". I can, I have no glue for which containers to look. So please let me know what containers should/shouldn't exist.

Ngôn ngữ chính
C#
Star
1.7k
Fork
336
Merge trung bình
2 ngày 17 giờ
Pull request đã merge (30 ngày)
8

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 Azure/durabletask

Tất cả issue của Azure/durabletask

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.