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

Aberta
#289 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
25/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
aws, php
Domínio
backend, cloud

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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?

Linguagem predominante
PHP
Estrelas
156
Forks
37
Merge médio
23h 51min
PRs com merge (30d)
2

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CollaboraOnline/richdocumentscode

Todas as issues de CollaboraOnline/richdocumentscode

Issues semelhantes

Mais issues de PHP

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.