Re: svnsync on large files

2016-12-08 Thread Daniel Shahaf
Stümpfig, Thomas wrote on Thu, Dec 08, 2016 at 07:36:10 +:
> Hi Daniel,
> you are a guru. I don't know why but it worked!
> 
> I guess the magic is in the difference of network transmission of svnsync vs 
> svnrdump / svnadmin load

That's pretty unlikely: svnsync and svnrdump use the very same network
interface.  (svn_ra_replay*())

> Are there suggestions from your side to avoid this error in the future?

Check in the master's error log the reason for the E175002.  I imagine
some limit was run into, in which case, have httpd.conf exempt svnsync
from that limit.

> Thank you very much for your help!!!
> 

You're welcome.

Daniel


Re: subversion error

2016-12-08 Thread Stefan Hett

Hi Jane,
On 12/7/2016 7:50 PM, Yue, Jane wrote:


Thanks,

Jane

I doubt that you will get any reasonable support for such an old TSVN 
version. You'd certainly upgrade at least to TSVN 1.7.15 but even this 
is EOL for over two years already. I suggest you upgrade to TSVN 1.9.5, tbh.


--
Regards,
Stefan Hett



svnsync: fewer round-trips for small revisions (was: Re: svnsync on large files)

2016-12-08 Thread Daniel Shahaf
Daniel Shahaf wrote on Thu, Dec 08, 2016 at 06:20:20 +:
> The steps should be this:
> 
> f() {
>   token="$USER@$(hostname):${RANDOM}:${RANDOM}"
>   svn propset --revprop -r0 -- svn:sync-lock $token
>   svn propget --revprop -r0 --strict svn:sync-lock | fgrep -q -- $token || 
> return 1
>   svn propset --revprop -r0 svn:sync-currently-copying 54618
>   svnrdump dump -r54618 --incremental https://mysourceturl/repository >tmpfile
>   svnadmin load /svnmirror/projektablagesvn propset --revprop -r0 svn:sync-last-merged-rev 54618
>   svn propdel --revprop -r0 svn:sync-currently-copying
>   svn propdel --revprop -r0 svn:sync-lock
> }
> 
> Note:
> 
> 1. Using the same metadata revprops and order as svnsync.

Looking at this again: svn:sync-lock and svn:sync-currently-copying
serve the same purpose; if we could combine them, we'd save two
round-trips per revision, which would be a win for small revisions.

Cheers,

Daniel


Commit fails - "Can't set position pointer in file, access denied"

2016-12-08 Thread Ryu, Ryan
Hi,

I’m getting the same error as the linked issue below using a very similar 
setup, but the discussion has no replies.

https://subversion.open.collab.net/ds/viewMessage.do?dsForumId=3&viewType=browseAll&dsMessageId=575976

Markphip was able to point me in a promising direction, but he recommended that 
I also post here. The output from TortoiseSVN looks like the following (with 
sensitive information removed):

Modified'C:\qqq...qqq\qqq.docx'
Sending content 'C:\qqq...qqq\q.xlsx'
Sending content 'C:\qqq...qqq\qqq.docx'
Error   Commit failed (details follow):
Error   Can't set posiiton pointer in file
Error   
'\\qqqvnxnas01.qqq​.com\qqq\Projects\​qSVSUBVML1\CSV​N\Repositories\qqq​\db\txn-protorevs​500-en.rev':
Error   Access is denied.
Completed!

If anyone has any ideas, it’d be greatly appreciated.

Thank you!




Confidentiality Notice: This electronic mail transmission is intended for the 
use of the individual or entity to which it is addressed and may contain 
confidential and/or proprietary information belonging to the sender. If you are 
not the intended recipient, you are hereby notified that any disclosure, use, 
copying, distribution, or the taking of any action in reliance on the contents 
of this information is strictly prohibited. If you have received this 
transmission in error, please notify the sender immediately by e-mail and 
delete the original message. Thank you for your cooperation.


Re: Commit fails - "Can't set position pointer in file, access denied"

2016-12-08 Thread David Chapman

On 12/8/2016 1:49 PM, Ryu, Ryan wrote:

Hi,
I’m getting the same error as the linked issue below using a very 
similar setup, but the discussion has no replies.

_https://subversion.open.collab.net/ds/viewMessage.do?dsForumId=3&viewType=browseAll&dsMessageId=575976_
Markphip was able to point me in a promising direction, but he 
recommended that I also post here. The output from TortoiseSVN looks 
like the following (with sensitive information removed):

Modified 'C:\qqq...qqq\qqq.docx'
Sending content 'C:\qqq...qqq\q.xlsx'
Sending content 'C:\qqq...qqq\qqq.docx'
ErrorCommit failed (details follow):
ErrorCan't set posiiton pointer in file
Error   
'\\qqqvnxnas01.qqq​.com\qqq\Projects\​qSVSUBVML1\CSV​N\Repositories\qqq​\db\txn-protorevs​500-en.rev':

ErrorAccess is denied.
Completed!
If anyone has any ideas, it’d be greatly appreciated.
Thank you!


Do you have antivirus software running?  If so, can you try an 
experiment with the antivirus software disabled?


--
David Chapman  dcchap...@acm.org
Chapman Consulting -- San Jose, CA
Software Development Done Right.
www.chapman-consulting-sj.com



RE: Commit fails - "Can't set position pointer in file, access denied"

2016-12-08 Thread Ryu, Ryan
From: David Chapman [mailto:dcchap...@acm.org]
Sent: Thursday, December 08, 2016 2:10 PM
To: Ryu, Ryan ; users@subversion.apache.org
Subject: Re: Commit fails - "Can't set position pointer in file, access denied"

On 12/8/2016 1:49 PM, Ryu, Ryan wrote:
Hi,

I’m getting the same error as the linked issue below using a very similar 
setup, but the discussion has no replies.

https://subversion.open.collab.net/ds/viewMessage.do?dsForumId=3&viewType=browseAll&dsMessageId=575976

Markphip was able to point me in a promising direction, but he recommended that 
I also post here. The output from TortoiseSVN looks like the following (with 
sensitive information removed):

Modified'C:\qqq...qqq\qqq.docx'
Sending content 'C:\qqq...qqq\q.xlsx'
Sending content 'C:\qqq...qqq\qqq.docx'
ErrorCommit failed (details follow):
ErrorCan't set posiiton pointer in file
Error   
'\\qqqvnxnas01.qqq​.com\qqq\Projects\​qSVSUBVML1\CSV​N\Repositories\qqq​\db\txn-protorevs​500-en.rev':
ErrorAccess is denied.
Completed!

If anyone has any ideas, it’d be greatly appreciated.

Thank you!

Do you have antivirus software running?  If so, can you try an experiment with 
the antivirus software disabled?


--

David Chapman  dcchap...@acm.org

Chapman Consulting -- San Jose, CA

Software Development Done Right.


www.chapman-consulting-sj.com








Yes. What do you have in mind?

Thanks.




Confidentiality Notice: This electronic mail transmission is intended for the 
use of the individual or entity to which it is addressed and may contain 
confidential and/or proprietary information belonging to the sender. If you are 
not the intended recipient, you are hereby notified that any disclosure, use, 
copying, distribution, or the taking of any action in reliance on the contents 
of this information is strictly prohibited. If you have received this 
transmission in error, please notify the sender immediately by e-mail and 
delete the original message. Thank you for your cooperation.


Re: Commit fails - "Can't set position pointer in file, access denied"

2016-12-08 Thread David Chapman

On 12/8/2016 2:22 PM, Ryu, Ryan wrote:


*From:*David Chapman [mailto:dcchap...@acm.org]
*Sent:* Thursday, December 08, 2016 2:10 PM
*To:* Ryu, Ryan ; users@subversion.apache.org
*Subject:* Re: Commit fails - "Can't set position pointer in file, 
access denied"


On 12/8/2016 1:49 PM, Ryu, Ryan wrote:

Hi,

I’m getting the same error as the linked issue below using a very
similar setup, but the discussion has no replies.


https://subversion.open.collab.net/ds/viewMessage.do?dsForumId=3&viewType=browseAll&dsMessageId=575976



Markphip was able to point me in a promising direction, but he
recommended that I also post here. The output from TortoiseSVN
looks like the following (with sensitive information removed):

Modified 'C:\qqq...qqq\qqq.docx'
Sending content 'C:\qqq...qqq\q.xlsx'
Sending content 'C:\qqq...qqq\qqq.docx'
ErrorCommit failed (details follow):
ErrorCan't set posiiton pointer in file
Error

'\\qqqvnxnas01.qqq​.com\qqq\Projects\​qSVSUBVML1\CSV​N\Repositories\qqq​\db\txn-protorevs​500-en.rev':
ErrorAccess is denied.
Completed!

If anyone has any ideas, it’d be greatly appreciated.

Thank you!


Do you have antivirus software running?  If so, can you try an 
experiment with the antivirus software disabled?


--
 David chapmandcchap...@acm.org 
 Chapman Consulting -- San Jose, CA
 Software Development Done Right.
 www.chapman-consulting-sj.com 



Yes. What do you have in mind?

Thanks.




Turn off the antivirus software and rerun the commit.  If your problem 
is intermittent, you may have to leave the antivirus software off for a 
little while.


When a file is created, many antivirus programs will queue that file for 
immediate analysis.  That analysis may interfere with use of the file.  
For example, in a non-SVN context, I had a test program that would run 
multiple tests.  Each would create a small file, write to it, check it, 
then delete it.  If I didn't change the file name each time, tests would 
sometimes fail, because the deleted file was being held back for 
analysis by the antivirus software.


--
David Chapman  dcchap...@acm.org
Chapman Consulting -- San Jose, CA
Software Development Done Right.
www.chapman-consulting-sj.com