LeelaChessZero / lczero-client

The executable that communicates with the server to run selfplay games locally and upload results
70 stars 40 forks source link

removeAllExcept doesn't exclude temporary files #75

Open Tilps opened 5 years ago

Tilps commented 5 years ago

Multiple clients in the same directory can stomp on each other because removeAllExcept will delete temporary files being downloaded by another client.

It should either exclude temporary files, or it should be performed behind acquireLock rather than before it.

Tilps commented 5 years ago

it should also exclude the .lck files...