If one lfs server has opened the file for writing and is updating it, and another lfs server opens for reading, will the second server block on the call or does it just ignore it and try again later? I don't want to impact the performance, although I don't think the block would last for more than a few ms.
Will try and see what happens, then grab a sledge hammer if necessary.
When is the ban file read and/or updated by the server? I cannot find any info.
I have written an app to admin the ban files on our servers and want to combine and clean them into one file then redistribute amongst the servers.
Questions:
1. Are the ban files only read upon lfs server restart, or does lfs actively watch the directory for file changes?
2. Does the server update the ban file on the fly as someone is banned or is there some batch processing aka update on shutdown?
My biggest fear is sync'ing and corrupting the ban files and losing them during an update cycle or reading a not fully updated one and therefore not actually banning someone.