You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Hudson <gh...@MIT.EDU> on 2004/02/23 17:29:59 UTC
Transactionless reporter again
I'd like to commit my transactionless reporter code, which I described
in
http://subversion.tigris.org/servlets/BrowseList?list=dev&by=thread&from=143289
and put in the issue tracker in
http://subversion.tigris.org/issues/show_bug.cgi?id=1679
a couple of months ago.
There are no API changes involved; it's just a performance
improvement, and there should be no problem to have it in svn 1.1.
Object now or don't.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Transactionless reporter again
Posted by Mark Benedetto King <mb...@lowlatency.com>.
On Mon, Feb 23, 2004 at 12:29:59PM -0500, Greg Hudson wrote:
> I'd like to commit my transactionless reporter code, which I described
> in
> http://subversion.tigris.org/servlets/BrowseList?list=dev&by=thread&from=143289
> and put in the issue tracker in
> http://subversion.tigris.org/issues/show_bug.cgi?id=1679
> a couple of months ago.
>
> There are no API changes involved; it's just a performance
> improvement, and there should be no problem to have it in svn 1.1.
>
> Object now or don't.
>
I've been looking forward to this for a while; the increase in performance
(especially under load) should be significant, and it would be nice to
get this in early in the 1.1 release cycle.
--ben
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
[OT] what IDE? (was: Congratulations to 1.0.0)
Posted by Greg Stein <gs...@lyra.org>.
On Mon, Feb 23, 2004 at 07:59:16PM +0100, Folker Schamel wrote:
> Hello Subversion-Team!
>
> Congratulations to 1.0.0!
Thanks :-)
>...
> BTW - off topic - just for interest:
> A question to the svn core developers:
> Which IDE's (if at all) are you using for development?
> Especially for Linux?
XEmacs and bash. :-)
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: [OT] what IDE? (was: Congratulations to 1.0.0)
Posted by kf...@collab.net.
Ben Reser <be...@reser.org> writes:
> Not sure if I count as a "core developer", guess that's up for debate
> lately. :)
>
> I use vim and bash.
I guess formally it would mean someone who works primarily on the C
code. I don't know if it's the same as "full committer".
You're hard to categorize, Ben :-).
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
[OT] what IDE? (was: Congratulations to 1.0.0)
Posted by Ben Reser <be...@reser.org>.
On Mon, Feb 23, 2004 at 07:59:16PM +0100, Folker Schamel wrote:
> BTW - off topic - just for interest:
> A question to the svn core developers:
> Which IDE's (if at all) are you using for development?
> Especially for Linux?
Not sure if I count as a "core developer", guess that's up for debate
lately. :)
I use vim and bash.
--
Ben Reser <be...@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Congratulations to 1.0.0
Posted by Folker Schamel <sc...@spinor.com>.
Hello Subversion-Team!
Congratulations to 1.0.0!
I'm really impressed by your professionality!
Software development is an really complicated thing,
and finally shipping a good quality non-trivial product
having a good codebase is hard.
And you did an excellent job!
BTW, this professionality also gives me additional confidence
to Subversion, in addition to liking Subversion as product itself.
This also includes that in my opinion Subversion provides
a working solution for the *real* needs of *many* people,
plus providing a solid basis for implementing more special
features in the future.
This gives me the feeling that even if Subversion
does not yet have every possible fancy feature right now,
Subversion will get them step by step, silently emerging
to the best solution for (nearly) every user on the long run.
To produce further honey:
I think it is also very valuable to be professional
in the non-technical area: Compete with other VCSs,
but not fight a war against them.
This also gives a big additional portion of confidence I think.
BTW - off topic - just for interest:
A question to the svn core developers:
Which IDE's (if at all) are you using for development?
Especially for Linux?
Cheers,
Folker
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Transactionless reporter again
Posted by Chia-Liang Kao <cl...@clkao.org>.
I had considered using the reporter interface more than once.
(So I could benefit from your work!)
But currently many things in svk depend on the mixed-revision root
that reflects the checkout copy. The operation done to them
are not just dir_delta, but also check_path, dir_entries, etc.
So in the end I probably have to implement a root class proxying
calls to individual revision_root. Additionally in that case
I could refactor what libsvn_fs does today, if by the point
of time we still only have bdb as fs backend.
Or perhaps this mixed-revision transaction-less root should be done
in svn, so new fs backends could just use it if they have
revision_root implemented...
On Mon, Feb 23, 2004 at 01:14:57PM -0500, Greg Hudson wrote:
> > The original post mentioned removal of dir_delta.
>
> Yeah, I think that was a pipe dream; I'm told svk uses it, for
> instance. It might be possible to factor the two bits of code together
> at some point, though.
Cheers,
CLK
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Transactionless reporter again
Posted by Greg Hudson <gh...@MIT.EDU>.
On Mon, 2004-02-23 at 13:11, Greg Stein wrote:
> I'm not sure that it is an objection, but spooling the report into a file
> doesn't quite sit right with me. I'll have to ponder on why that is; I
> can't really articulate it well right now.
I'd certainly be happier with a design which didn't require spooling it
at all, but spooling it to a file seems much better than spooling it
into the database.
> The original post mentioned removal of dir_delta.
Yeah, I think that was a pipe dream; I'm told svk uses it, for
instance. It might be possible to factor the two bits of code together
at some point, though.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Transactionless reporter again
Posted by Greg Stein <gs...@lyra.org>.
On Mon, Feb 23, 2004 at 12:29:59PM -0500, Greg Hudson wrote:
> I'd like to commit my transactionless reporter code, which I described
> in
> http://subversion.tigris.org/servlets/BrowseList?list=dev&by=thread&from=143289
> and put in the issue tracker in
> http://subversion.tigris.org/issues/show_bug.cgi?id=1679
> a couple of months ago.
>
> There are no API changes involved; it's just a performance
> improvement, and there should be no problem to have it in svn 1.1.
>
> Object now or don't.
I'm not sure that it is an objection, but spooling the report into a file
doesn't quite sit right with me. I'll have to ponder on why that is; I
can't really articulate it well right now.
The original post mentioned removal of dir_delta. There is the call in
mod_dav_svn/update.c, libsvn_repos/reporter.c (which you tossed), and a
third in libsvn_repos/dump.c. So the point about being able to toss
dir_delta isn't quite there yet (in fact, it never was since there is
still at least one other spot).
Hmm.... interesting stuff.
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Transactionless reporter again
Posted by Philip Martin <ph...@codematters.co.uk>.
Sander Striker <st...@apache.org> writes:
> On Tue, 2004-02-24 at 20:16, kfogel@collab.net wrote:
>>
>> However, it might be wise to add this as a conditional part of the
>> build first, e.g.,
>>
>> $ ./configure --enable-txnless-reporter
>>
> Yes, turn it around: --disable-txnless-reporter if you don't want it.
> People tracking trunk are doing so for a reason. Don't you love
> ginea pigs? ;) :)
Either option means that there is twice as much to test. I don't
object to either option, but if the transactionless reporter is the
future and the new code passes the regression tests then I would be
happy for it to replace the current code.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: REPORT request failed: invalid XML
Posted by Folker Schamel <sc...@spinor.com>.
Ben Collins-Sussman wrote:
> On Sun, 2004-03-14 at 22:31, Folker Schamel wrote:
>
>>svn: REPORT request failed on '/svn/repository/!svn/vcc/default'
>>svn: The REPORT request returned invalid XML in the response: XML parse error at
>> line 1: no element found (/svn/repository/!svn/vcc/default)
>
>
> This is a mod_dav_svn bug that was fixed in 1.0.1.
Ahh, nice to know! Thanks! :-)
>>When performing a merge for a particular subdirectory,
>>I always get the following error immediately:
>>
>>svn: REPORT request failed on '/svn/repository/!svn/vcc/default'
>>svn: REPORT of '/svn/repository/!svn/vcc/default': Could not read response body: co
>>nnection was closed by server. (http://192.168.0.1)
>
>
> This looks like a server-side crash; are you sure your errorlog doesn't
> say anything about that?
The apache2 error log says:
[Mon Mar 15 05:34:17 2004] [error] [client 192.168.0.2] Provider encountered an error while streaming a REPORT response. [500, #0]
[Mon Mar 15 05:34:17 2004] [error] [client 192.168.0.2] A failure occurred while driving the update report editor [500, #160005]
[Mon Mar 15 05:34:17 2004] [error] [client 192.168.0.2] Invalid editor anchoring; at l
>>A recovery does not help.
>
>
> Why would you need to recover? Did the repository get stuck?
Not knowing details about the implementation,
I wanted to exclude that a wired repository state
is responsible for the problems.
>>The problem is, that I cannot update (important) changes
>>from the trunk into a branch, and I don't know a work-around.
>
>
> You'll need to show us an exact transcript of what you're doing.
I know that this would be the best...
The problem is that it is a larger repository, about 1 GB.
The actual action simply was an classical merge
command to merge changes from trunk into a branch.
Maybe the above apache2 log message about the "update report editor"
failing with "500" and "#160005" and the "invalid anchoring"
alrady helps at least a little bit?
Cheers,
Folker
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: REPORT request failed: invalid XML
Posted by Ben Collins-Sussman <su...@collab.net>.
On Sun, 2004-03-14 at 22:31, Folker Schamel wrote:
> Hello!
>
> When performing a (larger) merge, I always get the following error
> exactly at the same position:
>
> svn: REPORT request failed on '/svn/repository/!svn/vcc/default'
> svn: The REPORT request returned invalid XML in the response: XML parse error at
> line 1: no element found (/svn/repository/!svn/vcc/default)
This is a mod_dav_svn bug that was fixed in 1.0.1.
>
> When performing a merge for a particular subdirectory,
> I always get the following error immediately:
>
> svn: REPORT request failed on '/svn/repository/!svn/vcc/default'
> svn: REPORT of '/svn/repository/!svn/vcc/default': Could not read response body: co
> nnection was closed by server. (http://192.168.0.1)
This looks like a server-side crash; are you sure your errorlog doesn't
say anything about that?
> A recovery does not help.
Why would you need to recover? Did the repository get stuck?
> The problem is, that I cannot update (important) changes
> from the trunk into a branch, and I don't know a work-around.
You'll need to show us an exact transcript of what you're doing.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: REPORT request failed: invalid XML
Posted by Folker Schamel <sc...@spinor.com>.
Folker Schamel wrote:
> Hello!
>
> When performing a (larger) merge, I always get the following error
> exactly at the same position:
>
> ....
Finally I've found at least a workaround:
Updating the directory removed the second error,
so that I could merge again.
This gave errors because some subdirectories and files
were merged twice, but this could be resolved manually.
Then I merged the otehr subdirectories individually.
The result is that now finally I got my merge.
Hoping that I won't have the same problem in the future.
Hm...
Cheers,
Folker
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
REPORT request failed: invalid XML
Posted by Folker Schamel <sc...@spinor.com>.
Hello!
When performing a (larger) merge, I always get the following error
exactly at the same position:
svn: REPORT request failed on '/svn/repository/!svn/vcc/default'
svn: The REPORT request returned invalid XML in the response: XML parse error at
line 1: no element found (/svn/repository/!svn/vcc/default)
When performing a merge for a particular subdirectory,
I always get the following error immediately:
svn: REPORT request failed on '/svn/repository/!svn/vcc/default'
svn: REPORT of '/svn/repository/!svn/vcc/default': Could not read response body: co
nnection was closed by server. (http://192.168.0.1)
For the second error the apache2 error_log says:
[Mon Mar 15 05:34:17 2004] [error] [client 192.168.0.2] Provider encountered an error while streaming a REPORT response. [500, #0]
[Mon Mar 15 05:34:17 2004] [error] [client 192.168.0.2] A failure occurred while driving the update report editor [500, #160005]
[Mon Mar 15 05:34:17 2004] [error] [client 192.168.0.2] Invalid editor anchoring; at least one of the input paths is not a directory and there was no source entry [500, #160005]
A recovery does not help.
Searching for these errors in the history didn't help.
Does someone have an idea?
Maybe this problem is known?
What can I do to provide more information?
(using xp-client + linux-server; unfortunately I'm no
Linux expert, so I don't know about linux debugging tools.)
The problem is, that I cannot update (important) changes
from the trunk into a branch, and I don't know a work-around.
Cheers,
Folker
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Transactionless reporter again
Posted by kf...@collab.net.
kfogel@collab.net writes:
> Even better, yes. +1 on Sander's default.
Whups -- this was sent before my other mail saying "Just Do It", but
may have arrived after it in some mailboxes.
Please ignore it; the "Just Do It" mail trumps :-).
-K
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Transactionless reporter again
Posted by kf...@collab.net.
Sander Striker <st...@apache.org> writes:
> Yes, turn it around: --disable-txnless-reporter if you don't want it.
> People tracking trunk are doing so for a reason. Don't you love
> ginea pigs? ;) :)
Even better, yes. +1 on Sander's default.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Transactionless reporter again
Posted by Sander Striker <st...@apache.org>.
On Tue, 2004-02-24 at 20:16, kfogel@collab.net wrote:
> Greg Hudson <gh...@MIT.EDU> writes:
> > I'd like to commit my transactionless reporter code, which I described
> > in
> > http://subversion.tigris.org/servlets/BrowseList?list=dev&by=thread&from=143289
> > and put in the issue tracker in
> > http://subversion.tigris.org/issues/show_bug.cgi?id=1679
> > a couple of months ago.
> >
> > There are no API changes involved; it's just a performance
> > improvement, and there should be no problem to have it in svn 1.1.
> >
> > Object now or don't.
>
> You're talking about replacing our current reporter.c with the new
> code, so that the transactionless reporter becomes the new default?
>
> I don't object to this; I already reviewed the patch back when you
> first posted it. Spooling the file also feels funny to me, but if
> pressed I have to admit that it's not worse than spooling into the
> database.
>
> However, it might be wise to add this as a conditional part of the
> build first, e.g.,
>
> $ ./configure --enable-txnless-reporter
>
> ...or something, so we can get some more testing first. After a few
> weeks, we could switch over completely.
>
> (I would add this option to my builds, so that I'm always running the
> new code. Suspect you can get similar commitments from others.)
>
> Thoughts?
Yes, turn it around: --disable-txnless-reporter if you don't want it.
People tracking trunk are doing so for a reason. Don't you love
ginea pigs? ;) :)
Sander
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Transactionless reporter again
Posted by "Brian. W. Fitzpatrick" <fi...@red-bean.com>.
On Tue, 2004-02-24 at 13:16, kfogel@collab.net wrote:
> Greg Hudson <gh...@MIT.EDU> writes:
> > I'd like to commit my transactionless reporter code, which I described
> > in
> > http://subversion.tigris.org/servlets/BrowseList?list=dev&by=thread&from=143289
> > and put in the issue tracker in
> > http://subversion.tigris.org/issues/show_bug.cgi?id=1679
> > a couple of months ago.
> >
> > There are no API changes involved; it's just a performance
> > improvement, and there should be no problem to have it in svn 1.1.
> >
> > Object now or don't.
>
> You're talking about replacing our current reporter.c with the new
> code, so that the transactionless reporter becomes the new default?
>
> I don't object to this; I already reviewed the patch back when you
> first posted it. Spooling the file also feels funny to me, but if
> pressed I have to admit that it's not worse than spooling into the
> database.
>
> However, it might be wise to add this as a conditional part of the
> build first, e.g.,
>
> $ ./configure --enable-txnless-reporter
>
> ...or something, so we can get some more testing first. After a few
> weeks, we could switch over completely.
I'm -0 on this. Similar configure time switches have been proposed in
the past, and they've been shot down. We want everyone working on the
bleeding edge (i.e. trunk) to be testing the fixes and features that go
into Subversion--adding a switch to enable something means that it's not
going to be tested as widely.
-Fitz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Transactionless reporter again
Posted by "C. Michael Pilato" <cm...@collab.net>.
Greg Hudson <gh...@MIT.EDU> writes:
> On Tue, 2004-02-24 at 14:16, kfogel@collab.net wrote:
> > $ ./configure --enable-txnless-reporter
>
> Since a couple of people have spoken up against this: I don't think it's
> necessary. Our test suite covers this bit of Subversion code better
> than probably any other area, because it's central to so many
> operations.
+1. Just check the stuff in already. :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Transactionless reporter again
Posted by kf...@collab.net.
Greg Hudson <gh...@MIT.EDU> writes:
> Since a couple of people have spoken up against this: I don't think it's
> necessary. Our test suite covers this bit of Subversion code better
> than probably any other area, because it's central to so many
> operations.
Yes. I am not as strongly in favor of the conditional as I was at
first, having seen more comments.
Go ahead and make it the One True Reporter!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Transactionless reporter again
Posted by Greg Hudson <gh...@MIT.EDU>.
On Tue, 2004-02-24 at 14:16, kfogel@collab.net wrote:
> $ ./configure --enable-txnless-reporter
Since a couple of people have spoken up against this: I don't think it's
necessary. Our test suite covers this bit of Subversion code better
than probably any other area, because it's central to so many
operations.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Transactionless reporter again
Posted by kf...@collab.net.
Greg Hudson <gh...@MIT.EDU> writes:
> I'd like to commit my transactionless reporter code, which I described
> in
> http://subversion.tigris.org/servlets/BrowseList?list=dev&by=thread&from=143289
> and put in the issue tracker in
> http://subversion.tigris.org/issues/show_bug.cgi?id=1679
> a couple of months ago.
>
> There are no API changes involved; it's just a performance
> improvement, and there should be no problem to have it in svn 1.1.
>
> Object now or don't.
You're talking about replacing our current reporter.c with the new
code, so that the transactionless reporter becomes the new default?
I don't object to this; I already reviewed the patch back when you
first posted it. Spooling the file also feels funny to me, but if
pressed I have to admit that it's not worse than spooling into the
database.
However, it might be wise to add this as a conditional part of the
build first, e.g.,
$ ./configure --enable-txnless-reporter
...or something, so we can get some more testing first. After a few
weeks, we could switch over completely.
(I would add this option to my builds, so that I'm always running the
new code. Suspect you can get similar commitments from others.)
Thoughts?
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org