From: Joey Hess Date: Wed, 20 Oct 2021 17:12:16 +0000 (-0400) Subject: update per other comment X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~79^2~114 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=95032bfae7f3f9b57ecddc0a7acc2e962bb8396e;p=git-annex.git update per other comment --- diff --git a/doc/bugs/WSL_adjusted_braches__58___smudge_fails_with_sqlite_thread_crashed_-_locking_protocol/comment_7_cb7ce88ae3d77b9ba0a4e33c2321a3e1._comment b/doc/bugs/WSL_adjusted_braches__58___smudge_fails_with_sqlite_thread_crashed_-_locking_protocol/comment_7_cb7ce88ae3d77b9ba0a4e33c2321a3e1._comment deleted file mode 100644 index c63d1c2666..0000000000 --- a/doc/bugs/WSL_adjusted_braches__58___smudge_fails_with_sqlite_thread_crashed_-_locking_protocol/comment_7_cb7ce88ae3d77b9ba0a4e33c2321a3e1._comment +++ /dev/null @@ -1,15 +0,0 @@ -[[!comment format=mdwn - username="joey" - subject="""comment 7""" - date="2021-10-20T17:04:09Z" - content=""" -git-annex opened a second connection to the database for writes, in -addition to the connection it used for reads. That seems likely to be -involved in whatever locking problem there is on WSL. - -Commit [[!commit d0ef8303cf8c4f40a1d17bd134af961fd9917ca4]] eliminates that -second connection. But there's some chance I'll have to revert it. - -If you test, please include `git-annex version` output -so I can make sure you have a version with that change. -"""]] diff --git a/doc/bugs/WSL_adjusted_braches__58___smudge_fails_with_sqlite_thread_crashed_-_locking_protocol/comment_8_cb7ce88ae3d77b9ba0a4e33c2321a3e1._comment b/doc/bugs/WSL_adjusted_braches__58___smudge_fails_with_sqlite_thread_crashed_-_locking_protocol/comment_8_cb7ce88ae3d77b9ba0a4e33c2321a3e1._comment new file mode 100644 index 0000000000..88a1727d0e --- /dev/null +++ b/doc/bugs/WSL_adjusted_braches__58___smudge_fails_with_sqlite_thread_crashed_-_locking_protocol/comment_8_cb7ce88ae3d77b9ba0a4e33c2321a3e1._comment @@ -0,0 +1,24 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 7""" + date="2021-10-20T17:04:09Z" + content=""" +@asakurareiko oh excellent news! + +Before I saw that it's apparently fixed, I noticed that +git-annex opened a second connection to the database for writes, in +addition to the connection it used for reads. That seems likely to be +involved in whatever locking problem there is on WSL. While maybe I already +fixed the main one, the fact that fix works makes me even more suspicious +about situations where there are multiple database connections. + +Commit [[!commit d0ef8303cf8c4f40a1d17bd134af961fd9917ca4]] eliminates that +second connection. But there's some chance I'll have to revert it. + +If you test, please include `git-annex version` output +so I can make sure you have a version with that change. + +I also wonder if this means that running 2 git-annex commands +simulantaneously will sometimes result in the same sqlite problem, despite +these fixes. +"""]]