On Wed, 06 Jun 2012 12:57:26 +0000, Simon Clubley wrote:
>>
> Since this patch does not actually fix anything, but just detects the
> problem, we still don't know what the root cause is which is rather
> worrying.
>
> I wonder if this problem has come about as part of a previous patch or
> if it's present in the base V8.3 code. It seems to have been dormant for
> a long time if it's the latter.
>
This reminds me of something I came across in the early V6.2 era.
The problem was demonstrated by a procedure which attempted to address
the 32767 version number limit for a directory which contained tens of
thousands of spool files. It used the way BACKUP processes files in
reverse order of version number. E.g.
$ dir/da
login.com
Directory SYS$SYSDEVICE:[PAUL]
LOGIN.COM;17 2-APR-2012 17:02:50.39
LOGIN.COM;16 29-JUL-2010 20:08:29.94
$ backup
login.com [.temp]*.*.0/log
%BACKUP-S-CREATED, created SYS$SYSDEVICE:[PAUL.TEMP]
LOGIN.COM;1
%BACKUP-S-CREATED, created SYS$SYSDEVICE:[PAUL.TEMP]
LOGIN.COM;2
$ dir /da [.temp]
Directory SYS$SYSDEVICE:[PAUL.TEMP]
LOGIN.COM;2 29-JUL-2010 20:08:29.94
LOGIN.COM;1 2-APR-2012 17:02:50.39
Note that the highest version created is the oldest file.
This procedure then did the reverse to put the files back, but starting
with version 1.
What I found was that one day was that it got gaps in the version
numbers. I can't remember now but BACKUP might have gone into some kind
of endless loop.
I did submit an SPR with a reproducer, and the last I heard of it was
that OVMS Engineering had managed to reproduce the problem. I changed
jobs shortly afterwards so have no idea if the SPR got fixed.
To fix our problem I wrote a bit of DCL which used ;-0 to find the lowest
version of a given file, rename it to ;1, and so on, so as far as the SPR
went, it dropped to a low priority for us.
--
Paul Sture