|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
[Issue 3212] New - ra_serf: svn aborts when starting mergehttp://subversion.tigris.org/issues/show_bug.cgi?id=3212
Issue #|3212 Summary|ra_serf: svn aborts when starting merge Component|subversion Version|trunk Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|libsvn_ra_serf Assigned to|issues@subversion Reported by|lgo ------- Additional comments from lgo@... Tue Jun 3 12:40:01 -0700 2008 ------- A few people have reported svn+ra_serf aborting when starting a merge operation. Bert Huijben: http://svn.haxx.se/dev/archive-2008-06/0066.shtml Daniel Shahaf: http://svn.haxx.se/dev/archive-2008-05/0017.shtml I can reproduce this issue, but only from time to time. Typically I can reproduce it once, and then I have to restart my machine to reproduce it again. The issue happens when certain requests to the server fail and have to be resent. Wwhat's happening is that ra_serf creates a bucket with the request body, but that body is eaten and destroyed by the first request. So when the request is sent a second time, typically the memory is not cleared yet so the request will succeed, but on destroying that body for the 2nd time, serf will abort. This is explained in more detail: http://svn.haxx.se/dev/archive-2007-08/0153.shtml The correct way of working is simple: instead of giving serf a bucket with the request body, provide it with a callback that can create the bucket on demand, twice if needed. We already do this for most of the request types, but not for all. I could find 8 places where the body_buckets variable is still set. All these places need to be converted to use body_delegate. For REPORTs this is a bit difficult, as these are created when driving an editor, which we don't want to drive a second time. One of the workarounds is to store the data from the REPORT request on disk too, and reload it if needed. Another workaround would be to teach the bucket code to not destroy the bucket data until we explicitly told serf to do so. Let's use this bug for the cleanup of those 8 'body_buckets locations'. --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 3212] ra_serf: svn aborts when starting mergehttp://subversion.tigris.org/issues/show_bug.cgi?id=3212
User maxb changed the following: What |Old value |New value ================================================================================ Target milestone|--- |unscheduled -------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 3212] ra_serf: svn aborts when starting mergehttp://subversion.tigris.org/issues/show_bug.cgi?id=3212
User lgo changed the following: What |Old value |New value ================================================================================ Status|NEW |STARTED -------------------------------------------------------------------------------- ------- Additional comments from lgo@... Sat Jun 28 08:43:13 -0700 2008 ------- The best way to solve this requires a 'bucket snapshot' feature in serf. Sent a proposal to serf-dev to include this in the next release: http://groups.google.com/group/serf-dev/browse_frm/thread/c50852b674ab3078 Also, I don't think a workaround in svn itself is worth the (sizeable) effort. --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 3212] ra_serf: svn aborts when starting mergehttp://subversion.tigris.org/issues/show_bug.cgi?id=3212
User lgo changed the following: What |Old value |New value ================================================================================ Status|STARTED |RESOLVED -------------------------------------------------------------------------------- Resolution| |FIXED -------------------------------------------------------------------------------- ------- Additional comments from lgo@... Thu Sep 25 00:30:35 -0700 2008 ------- Serf trunk now includes the needed snapshot feature to fix this issue, to be released in serf 0.3. r33283 contains the necessary changes in Subversion. --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
|
|
[Issue 3212] ra_serf: svn aborts when starting mergehttp://subversion.tigris.org/issues/show_bug.cgi?id=3212
User arfrever changed the following: What |Old value |New value ================================================================================ Target milestone|unscheduled |1.6 -------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
| Free Forum Powered by Nabble | Forum Help |