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

Re: [PATCH] A test for "Can't get entries" error

From: Evgeny Kotkov <evgeny.kotkov_at_visualsvn.com>
Date: Tue, 27 Nov 2018 21:19:14 +0300

Dmitry Pavlenko <pavlenko_at_tmatesoft.com> writes:

> I've run into an error: when performing 2 specially constructed updates one
> after another within the same session, SVN fails with
>
> $ ./ra-test 15
> svn_tests: E160016: Can't get entries of non-directory
> XFAIL: ra-test 15: check that there's no "Can't get entries" error
>
> error. I believe these updates constructed that way are valid, so the problem
> is somewhere in FSFS code. It's also interesting that if these updates are
> run separately (e.g. by adding "if (FALSE)" to one or another), they succeed.

Apparently, this behavior is caused by a problem in the specific optimization
within the FSFS open_path() routine.

I constructed an FS regression test and committed it and the fix in:
   https://svn.apache.org/r1847572

(I'll try to nominate it for backport once I get some time.)

Thanks,
Evgeny Kotkov
Received on 2018-11-27 19:19:43 CET

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

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