We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
writing to userstocreate.txt is not atomic and should be.
use a file lock (userstocreate.txt.lock) to guarantee that there is only one writer to the file at any given time.
reference: http://news.ycombinator.com/item?id=4561336
The text was updated successfully, but these errors were encountered:
migrate createdusers.log and userstocreate.txt to sqlite3 and python scripts
this will add support for atomic operations, but will also add sqlite3 and python as dependencies
Database file: /usr/local/etc/tarbackup/db/tarbackup.db
createdusers.log will be migrated to table: Users
Users: Id, Name, Password, Email, Created
userstocreate.txt will be migrated to table: UsersToCreate
UsersToCreate: Id, Name, Password, Email, Created
Sorry, something went wrong.
No branches or pull requests
writing to userstocreate.txt is not atomic and should be.
use a file lock (userstocreate.txt.lock) to guarantee that there is only one writer to the file at any given time.
reference: http://news.ycombinator.com/item?id=4561336
The text was updated successfully, but these errors were encountered: