On 10 February 2016 at 13:43, Daniel Gruno <[email protected]> wrote:
> On 02/10/2016 01:16 PM, sebb wrote:
>> AFAICT the file backend uses several files that are shared between users.
>>
>> However there does not appear to be any form of locking employed, so
>> updates can be lost.
>>
>> If this is intentional, it should be clearly documented as a restriction.
>>
>
> I was thinking about the exact same thing the other day.
> I usually use the ES backend, so I don't have that issue, but some
> people may elect to use a file backend. We should look into using some
> sort of flock() for this.

In the meantime maybe make a note that the backend is for testing purposes only.

If the code does use flock, then it probably also needs to be set up
so that files are only shared as necessary, otherwise it won't scale.
Some files need to be shared (e.g. voter registration) however others
can be per voter.

> With regards,
> Daniel.

Reply via email to