Score:0

svn ci timing out with "Named transaction doesn't exist."

pf flag

Whenever I check a file into subversion it hangs for a long time (>30s) with Comitting transaction.... The commit seems to go through though since I can svn up it on other clients.

The log says Named transaction doesn't exist., but I'm not sure how to fix it...

I'm running subversion 1.13.0 on Apache (behind nginx) on Ubuntu: 20.04.5.

What the client sees:

bp@linuxdev:/srv/bin$ svn ci testfile.txt -m "test"
Sending        testfile.txt
Transmitting file data .done
Committing transaction...
svn: E175002: Commit failed (details follow):
svn: E175002: Unexpected HTTP status 504 'Gateway Time-out' on '/svn/datakortet/srv/trunk/bin'
bp@linuxdev:/srv/bin$

The Gateway Time-out is from nginx when apache takes more than 30 seconds (the hanging problem existed before nginx was added, but the added 504 error is not going to be well received...).

The access.log from the subversion apache VirtualHost:

127.0.0.1 - bp [05/Feb/2023:14:28:14 +0100] "PUT /svn/datakortet/!svn/txr/33737-q4a/srv/trunk/bin/testfile.txt HTTP/1.0" 204 176 "-" "SVN/1.13.0 (x86_64-pc-linux-gnu) serf/1.3.9"
127.0.0.1 - bp [05/Feb/2023:14:29:14 +0100] "DELETE /svn/datakortet/!svn/txn/33737-q4a HTTP/1.0" 404 376 "-" "SVN/1.13.0 (x86_64-pc-linux-gnu) serf/1.3.9"

Subversion is located in /var/lib/svn/datakortet/ and <svn>/db/txn-current contains q4a, <svn>/db/transactions/ is empty.

error.log

[Sun Feb 05 14:29:14.418619 2023] [dav:error] [pid 289957:tid 140444373587712] [client 127.0.0.1:47926] Could not fetch resource information.  [404, #0]
[Sun Feb 05 14:29:14.418736 2023] [dav:error] [pid 289957:tid 140444373587712] [client 127.0.0.1:47926] Named transaction doesn't exist.  [404, #175002]
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.