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

Big files PUT into Subversion - encountering

From: Paul Hammant <paul_at_hammant.org>
Date: Sat, 8 Jul 2017 09:36:20 -0400

Same system as before - 4GB RAM Intel Atom Linux box
<https://www.reddit.com/r/chinapcs/comments/6ksrsi/chuwi_hibox_smart_mini_pc_4g_64g_quad_core_intel/>,
with attached 4TB USB3 driver (yes in a USB3 port) where the svn repo's
root is.

AutoIncrement is turned on (or whatever it's called), and I'm using curl to
PUT a resource. Like so:

#!/bin/bash

while :
do
    time dd if=/dev/zero bs=1M count=15000 2>/dev/null | openssl enc
-rc4-40 -pass pass:weak > /path/to/abc
    time curl -u paul:myPassword http://192.168.1.178/svn/svnRepo1/abc
--upload-file /path/to/abc
    du -s -h --block-size=1G /media/thatLittle4TBdrive/svnParent/
done

 Fifth iteration of that loop barfed in about 1/4 of the time the transfer
would have taken :(

<?xml version="1.0" encoding="utf-8"?>
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns"
xmlns:C="svn:">
<C:error/>
<m:human-readable errcode="200029">
Couldn't perform atomic initialization
</m:human-readable>
</D:error>

What does that mean? Programatically, should I just try the PUT again ?

*For those interested in stats: 6.5 mins to create each 14GB random file,
and 15 mins to PUT it into Svn (with it's 6 syncs on the server side). And
I've filled a 4TB drive up to 1.3TB so far.*

- Paul
Received on 2017-07-08 15:36:29 CEST

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