Skip to content

Wait for the sqlite3 process to terminate - #121

Open
IngoMeyer441 wants to merge 1 commit into
larkery:masterfrom
IngoMeyer441:fix/git-race-condition
Open

Wait for the sqlite3 process to terminate#121
IngoMeyer441 wants to merge 1 commit into
larkery:masterfrom
IngoMeyer441:fix/git-race-condition

Conversation

@IngoMeyer441

Copy link
Copy Markdown

When closing the pipe to sqlite3, the sqlite3 process is not terminated
instantly which leads to race conditions with Git in histdb-sync.
Therefore, this PR adds a block to wait for the sqlite3 process to
terminate in _histdb_stop_sqlite_pipe.

When closing the pipe to sqlite3, the sqlite3 process is not terminated
instantly which leads to race conditions with Git in `histdb-sync`.
Therefore, this commit adds a block to wait for the sqlite3 process to
terminate in `_histdb_stop_sqlite_pipe`.
@IngoMeyer441
IngoMeyer441 force-pushed the fix/git-race-condition branch from 4fe68a6 to a791677 Compare November 18, 2021 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant