It is not ‘offense’ it is just a bad way to do this, as mentioned above there is an inherit race condition: 2 or more processes replacing the same file with different versions. Sometimes you’ll luck out and you won’t lose data, but you should not code counting on luck, but predictable and reproducible results.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.