Como posso testar se os bloqueios fcntl () funcionam com a configuração do meu NFS?

5

Na FAQ do SQLite :

  1. Can multiple applications or multiple instances of the same application access a single database file at the same time?

    SQLite uses reader/writer locks to control access to the database. … But use caution: this locking mechanism might not work correctly if the database file is kept on an NFS filesystem. This is because fcntl() file locking is broken on many NFS implementations. You should avoid putting SQLite database files on NFS if multiple processes might try to access the file at the same time. …

Existe um teste simples para ver se fcntl() locking funciona para minha combinação de cliente e servidor NFS?

    
por 200_success 25.07.2015 / 00:23

1 resposta

2

Entrei em contato com Vincent no bullopensource, que não existe mais. Ele mudou o código aqui: link
Trabalhou para mim. Aproveite.

    
por 31.10.2016 / 16:25