Database fragility
Bron Gondwana
brong at fastmail.fm
Fri Sep 10 04:13:41 EDT 2010
There's a command that runs on startup to clean out bogus entries already. It could do the conversion. Also the rest could detect and use whatever type it actually is. Sorry, on my phone at MonUCS pre-concert so I can't look at the code right now, but the idea seems viable :)
"Daniel O'Connor" <doconnor at gsoft.com.au> wrote:
>
>On 10/09/2010, at 17:35, Bron Gondwana wrote:
>> I'm hoping to autodetect dammit. Hmm. Maybe I'll do that! What about autodetect and autoconvert... shouldn't be too tricky... just have to see what bdb does. Woohoo bdb. Or bedbugs as my phone's autocomplete calls it...
>
>If the server bailed on startup if there was a mismatch and there was a program/script/whatever which did an automagic upgrade I think that would be safest.
>
>No POLA violations then.
>
>>
>> "Daniel O'Connor" <doconnor at gsoft.com.au> wrote:
>>
>>>
>>> On 10/09/2010, at 16:59, Bron Gondwana wrote:
>>>
>>>> On Fri, Sep 10, 2010 at 04:52:17PM +0930, Daniel O'Connor wrote:
>>>>> I recently had some crashes on my home cyrus server and found I had to delete the log files for the DB's by hand :(
>>>>>
>>>>> [ ... ]
>>>>>
>>>>> Does anyone have any recommendations for how I can avoid having to do it? :)
>>>>
>>>> Yes, use skiplist.
>>>
>>> OK I'll do some converting.
>>>
>>> Hopefully the defaults will change one day.. 2.4?
>>>
>>>> Bron ( or find me a tame BDB expert and we'll figure out what Cyrus is
>>>> doing wrong with its BDB usage )
>>>
>>> Never seen such a beast!
>>>
>>> --
>>> Daniel O'Connor software and network engineer
>>> for Genesis Software - http://www.gsoft.com.au
>>> "The nice thing about standards is that there
>>> are so many of them to choose from."
>>> -- Andrew Tanenbaum
>>> GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>>
>
>--
>Daniel O'Connor software and network engineer
>for Genesis Software - http://www.gsoft.com.au
>"The nice thing about standards is that there
>are so many of them to choose from."
> -- Andrew Tanenbaum
>GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
>
>
>
>
>
>
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
More information about the Info-cyrus
mailing list