nodeSolidServer / nodeSolidServer/node-solid-server
.lock files show up in directory listings
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- JavaScript
- Estrelas
- 1.8k
- Forks
- 308
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
This bug is hard to reproduce timing-wise, but I have received at least one directory listing containing a .lock file.
For reference, this is what it looked like:
@prefix : <#>.
@prefix inbox: <>.
@prefix ldp: <http://www.w3.org/ns/ldp#>.
@prefix terms: <http://purl.org/dc/terms/>.
@prefix XML: <http://www.w3.org/2001/XMLSchema#>.
@prefix dcd: <dcd04010-0722-11eb-aaa1-f5587892eb36.ttl.lock/>.
@prefix st: <http://www.w3.org/ns/posix/stat#>.
@prefix tur: <http://www.w3.org/ns/iana/media-types/text/turtle#>.
inbox:
a ldp:BasicContainer, ldp:Container;
terms:modified "2020-10-05T19:22:19Z"^^XML:dateTime;
ldp:contains
<378f8150-0728-11eb-aaa1-f5587892eb36.ttl>,
<4870d3e0-073f-11eb-aaa1-f5587892eb36.ttl>,
<92f0e640-073e-11eb-aaa1-f5587892eb36.ttl>,
<abf84aa0-0731-11eb-aaa1-f5587892eb36.ttl>,
<dcd04010-0722-11eb-aaa1-f5587892eb36.ttl>, dcd:;
st:mtime 1601925739.707;
st:size 4096.
<378f8150-0728-11eb-aaa1-f5587892eb36.ttl>
a tur:Resource, ldp:Resource;
terms:modified "2020-10-05T16:31:27Z"^^XML:dateTime;
st:mtime 1601915487.715;
st:size 531.
<4870d3e0-073f-11eb-aaa1-f5587892eb36.ttl>
a tur:Resource, ldp:Resource;
terms:modified "2020-10-05T19:16:34Z"^^XML:dateTime;
st:mtime 1601925394.459;
st:size 552.
<92f0e640-073e-11eb-aaa1-f5587892eb36.ttl>
a tur:Resource, ldp:Resource;
terms:modified "2020-10-05T19:11:29Z"^^XML:dateTime;
st:mtime 1601925089.955;
st:size 552.
<abf84aa0-0731-11eb-aaa1-f5587892eb36.ttl>
a tur:Resource, ldp:Resource;
terms:modified "2020-10-05T17:39:08Z"^^XML:dateTime;
st:mtime 1601919548.486;
st:size 531.
<dcd04010-0722-11eb-aaa1-f5587892eb36.ttl>
a tur:Resource, ldp:Resource;
terms:modified "2020-10-05T15:53:07Z"^^XML:dateTime;
st:mtime 1601913187.983;
st:size 531.
dcd:
a ldp:BasicContainer, ldp:Container, ldp:Resource;
terms:modified "2020-10-05T19:22:19Z"^^XML:dateTime;
st:mtime 1601925739.711;
st:size 4096.
Note how it ends with .lock/ as opposed to just .lock, which might be the reason why it is not caught.
Should be fixed when not using on-disk locking anymore (#1475), but wanted to mention this in case there would be issues with other magic extensions.
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Nenhum arquivo-fonte ou teste é identificado na issue. Comece examinando o comportamento da listagem de diretórios e o trabalho de locking em disco referenciado em #1475; em seguida, use a listagem Turtle relatada como alvo de reprodução. Está concluído quando as entradas .lock temporárias não aparecerem mais nas listagens, enquanto os recursos regulares continuarem presentes.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript, nodejs
- Domínio
- backend
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100