On Fri, Dec 22, 2017 at 3:33 AM, Keva-Slient <356730059_at_qq.com> wrote:
> we use svn managing our config files.
>
> we lock config file when do committing or writing operation.
> in client side, only commit operation executes. and svndump in server.
>
> our process is always opening file like repo/someconfig/files . it's strang
> process opened tmp file like repo/.svn/tmp/svn-XXXXXX in some clients.
>
> and tmp file was deleted. our process report errors.
>
> for example:
> <8> Sundray-WAC / #lsof |grep online_assist | grep config |sort -k 3
> 704 /wns/sbin/online_assist /wns/etc/config/.svn/tmp/svn-39HEsA (deleted)
> 704 /wns/sbin/online_assist /wns/etc/config/.svn/tmp/svn-sTknMU (deleted)
> 704 /wns/sbin/online_assist /wns/etc/config/.svn/tmp/svn-ynboPV (deleted)
Did you see Bert's reply to your earlier mail? You're asking almost
the same question.
https://svn.haxx.se/users/archive-2017-12/0125.shtml
As Bert said: Subversion uses the .svn/tmp to create files, fill them
with content, and move them to the correct location in your working
copy (to avoid incomplete files appearing in your working copy). Apart
from that, svn also uses its tmp directory for other temporary files,
like creating temp files for diffing consecutive version of a file,
while running an 'svn blame' operation.
Basically, the .svn/tmp folder is an internal implementation detail of
Subversion. You shouldn't try to mess with it or write scripts around
it (the internals and behaviour of the .svn folder may change at any
time in newer svn releases).
Also: we have no idea here what "online-assist" is, and what it does.
That's not something from the Subversion project, as far as I know. On
this list we only know about SVN itself, so explain your question /
problem in terms of svn commands, what you see, and what you were
expecting instead.
--
Johan
Received on 2017-12-22 10:07:37 CET