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

Offen
#289 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
aws, php
Bereich
backend, cloud

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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?

Vorherrschende Sprache
PHP
Sterne
156
Forks
37
Ø Merge
23 Std. 51 Min.
Gemergte PRs (30 T.)
2

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CollaboraOnline/richdocumentscode

Alle Issues in CollaboraOnline/richdocumentscode

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.