[BlueOnyx:03689] Re: Unable to create new sites
David Booth
md at goulburn.net.au
Thu Feb 25 15:26:02 -05 2010
On 26/02/2010, at 6:55 AM, Steve Howes wrote:
>
> On 25 Feb 2010, at 19:28, David Booth wrote:
>> Ah - that's it.
>>
>> cd /usr/sausaito/codb
>>
>> ls objects | sort -n
>>
>> Note the last number (the biggest) - call it X
>>
>> edit the codb.oids file and make it say
>>
>> 1-X
>>
>> Then create your site.
>
> That'd leave gaps in the ID numbers. Don't know if it will cause
> problems but its certainly... wrong... scripted way is better.
>
I used a script (with a few false starts) for a while but found
codb.oids got overwritten anyway after a few days - often incorrectly.
I haven't had any ill effects from just using X. After I do it and
carry on with creating my new site/user/whatever I see it increment to
X+1.
I even did a few tests - delete an object and it decrements to X-1.
Come back in a few hours and I see it all rebuilt with 1-A,B-C, etc -
sometimes right, sometimes wrong.
I have had paid help on this and it has escalated somewhere for a 'big
fix of the underlying code one day'
Seems to me there's a universal unknown about missing ID numbers.
Nobody knows if it causes problems. Who would create a file based
object indexing engine that depends on an index being absent for
consistency? Are we going to run out of numbers one day?
More information about the Blueonyx
mailing list