S3 problem alarming remove/create rate richdocuments/remoteData/discovery and capabilities

Đang mở
#289 1 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
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
aws, php
Lĩnh vực
backend, cloud

Hướng nghiên cứu

Start by tracing where richdocuments/remoteData/discovery and capabilities are removed and recreated, then check how those operations interact with S3 storage. The report says this began after upgrading to 29.0.7 and proposes overwriting the files instead. Done means the files are no longer repeatedly removed and recreated; the issue does not identify a test or code entry point.

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

Mô tả

This seems to have started when I updated to 29.0.7 (from 28) a week ago.

I have some 100,000 files in NextCloud and the fileID was at something like 350,000 in oc_file_cache (first installation some 5 years ago)

Now in a week time (without adding a serious amount of files) the fileID is at 411,500+! That means that those two files are removed and placed again about 6 times a minute!

I have a script that checks for orphaned files in my S3 storage, there were hundreds of files with the exact same sizes of discovery and capabilities that were orphaned.. It looks like these two files are removed and created at an alarming rate, which seems to cripple the S3 storage structure..

The problem would probably be solved when the file is overwritten, instead of being removed and created again?

Ngôn ngữ chính
PHP
Star
156
Fork
37
Merge trung bình
23 giờ 51 phút
Pull request đã merge (30 ngày)
2

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 CollaboraOnline/richdocumentscode

Tất cả issue của CollaboraOnline/richdocumentscode

Issue tương tự

Thêm issue về PHP

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.