[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Reference to non-existent node

From: Davor Josipovic <davorj_at_live.com>
Date: Sun, 18 Feb 2018 20:58:09 +0000

Here you go (copy from the link):

----------------------------------------------------------------------------------------------------------------------------

Can someone help me debug this issue? Everything works (i.e. I can commit, checkout, etc.) but this one commit always fails as described below. I tried checking out in a new repository, and committing, but same issue. Note also that this is a very large repository (500GB), and a very large commit (36k files totaling 10GB).

This is the `apache2` error log:

    [Sat Feb 10 03:25:16.262765 2018] [dav:error] [pid 3339] [client X.X.X.X:61908] Could not DELETE /svn/repo/!svn/txn/463-e8. [500, #0]
    [Sat Feb 10 03:25:16.265881 2018] [dav:error] [pid 3339] [client X.X.X.X:61908] could not abort transaction. [500, #2]
    [Sat Feb 10 03:25:16.265905 2018] [dav:error] [pid 3339] [client X.X.X.X:61908] Transaction '463-e8' cleanup failed [500, #2]
    [Sat Feb 10 03:25:16.265923 2018] [dav:error] [pid 3339] [client X.X.X.X:61908] Can't remove '/mnt/vc/svn/repo/db/transactions/463-e8.txn/node._ji.0' [500, #2]
    [Sat Feb 10 03:25:16.265940 2018] [dav:error] [pid 3339] [client X.X.X.X:61908] Can't remove file '/mnt/vc/svn/repo/db/transactions/463-e8.txn/node._ji.0': No such file or directory [500, #2]
    [Sat Feb 10 03:25:30.640591 2018] [dav:error] [pid 2966] [client X.X.X.X:61712] Could not MERGE resource "/svn/repo/!svn/txn/463-e8" into "/svn/repo/repofolder". [500, #0]
    [Sat Feb 10 03:25:30.642889 2018] [dav:error] [pid 2966] [client X.X.X.X:61712] An error occurred while committing the transaction. [500, #160014]
    [Sat Feb 10 03:25:30.643003 2018] [dav:error] [pid 2966] [client X.X.X.X:61712] Reference to non-existent node '_1bqk.0.t463-e8' in filesystem '/mnt/vc/svn/repo/db' [500, #160014]

The client side gives:

    done
    Committing transaction...
    svn: E175012: Commit failed (details follow):
    svn: E175012: Connection timed out
    svn: E200042: Additional errors:
    svn: E175002: Unexpected server error 500 'Internal Server Error' on '/svn/repo/!svn/txn/463-e8'

First I thought this was a permission issue. So I did this on the server:

    su - www-data -s /bin/bash -c "svnadmin rmtxns /mnt/vc/svn/repo/ 463-e8"
    Transaction '463-e8' removed.

No error whatsoever. Apache runs as `www-data`. Following permissions are set:

    chown www-data:www-data /mnt/vc -R
    chmod 0774 /mnt/vc -R

I have run `svnadmin verify` and found no problems. `dmesg` doesn't show anything new.

The apache svn config is pretty much default.

KeepAlive On
MaxKeepAliveRequests 0
# Set to 10h.
Timeout 36000

SVNCompressionLevel 5
SVNInMemoryCacheSize 16384
SVNCacheTextDeltas On
SVNCacheFullTexts On
SVNAllowBulkUpdates Prefer

    <Location /svn>
        DAV svn
    SVNParentPath /mnt/vc/svn
    SVNListParentPath On

    # Allow large request
    LimitXMLRequestBody 0
    </Location>

Extra info:

    Server: Debian 9.3
    apache2/stable,stable,now 2.4.25-3+deb9u3 amd64 [installed]
    libapache2-mod-svn/stable,stable,now 1.9.5-1+deb9u1 amd64 [installed]
    Server svn client: 1.9.5-1+deb9u1
    Client: svn 1.9.7

**EDIT:** I copied the working copy to the repository server. Then I tried to commit, but had the same error. I then relocated the working copy to direct repository location: `svn relocate file:///mnt/vc/svn/repo`. Commit worked this time. So it has to do something with `dav_svn`?

----------------------------------------------------------------------------------------------------------------------------



On 18 February 2018 at 20:39, Johan Corveleyn <jcorvel_at_gmail.com<mailto:jcorvel_at_gmail.com>> wrote:
On Mon, Feb 12, 2018 at 8:41 AM, Davor Josipovic <davorj_at_live.com<mailto:davorj_at_live.com>> wrote:
> It seems to me there is a bug in libapache2-mod-svn/stable,stable,now
> 1.9.5-1+deb9u1 amd64 [installed].
>
> I described it
> here:https://superuser.com/questions/1293699/svn-error-occurred-while-committing-the-transaction
>
> I assume this is the correct place to report?
>
> I concerns the error 160014 "Reference to non-existent node". Some changes I
> can not commit through https://, but I can commit directly through the
> file:// protocol.
>
> Any idea's?

Yes, this is the correct place to report such an issue. But to
maximize your chances of people helping you, can you please copy the
relevant contents / context to the mailinglist here, instead of
forcing people to click a link?

--
Johan

Received on 2018-02-18 21:58:22 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.