Is skiplist dependant on byte order?

Alain Spineux aspineux at gmail.com
Mon Jun 16 05:33:54 EDT 2008


Another interesting question is :

IS skiplist 32 vs 64 bit dependant ?

Then how to transfers annotation.db between incompatible platform ?

"flat" format is excluded because annotation could contain binary data, and flat
is not a "permitted" format in imapd.conf.

Then should I convert into berkeley DB and then make a BDB dump ?
Then restore the BDB on the target and convert it back to skiplist ?

Or does it exist something simpler ?

Regards


On Mon, Jun 16, 2008 at 3:38 AM, Gary Mills <mills at cc.umanitoba.ca> wrote:
> I recently upgraded a murder front end server from Solaris 9 SPARC to
> Solaris 10 x86 by copying the /imap directory.  I did dump the
> mailboxes database before the copy.  It's a skiplist database.  I'm
> running cyrus-imapd-2.3.8 on both systems.  As a test, I first checked
> on the mailboxes database like this:
>
>    # su cyrus -c ksh
>    # /usr/local/cyrus/bin/ctl_mboxlist -d | wc -l
>           0
>
> This message appeared in the log:
>
>    Jun 11 16:24:43 setup01 ctl_mboxlist[14082]: [ID 864961 local6.crit] DBERROR: critical database situation
>
> After I reloaded it, I got the correct output:
>
>    # /usr/local/cyrus/bin/ctl_mboxlist -u < mailboxes.txt
>    # /usr/local/cyrus/bin/ctl_mboxlist -d | wc -l
>          77
>
> This is a test server with only a few mailboxes.  I'll upgrade the
> production server later.
>
> I'm assuming that skiplist is dependant on the machine's byte order,
> and that a dump and reload is necessary in this case.
>
> Are there any other databases that I should also dump and reload?  As
> far as I can tell, the annotation_db, duplicate_db, and tlscache_db
> are empty and can simply be removed.  Are there any others on a murder
> front end that I've missed?  Where do they reside?
>
> --
> -Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you


More information about the Info-cyrus mailing list