Transitioning notmuch/Xapian from 32-bit to 64-bit system

Subject: Transitioning notmuch/Xapian from 32-bit to 64-bit system

Date: Tue, 09 Jul 2019 16:21:07 +0200

To: notmuch@notmuchmail.org, xapian-discuss@lists.xapian.org

Cc:

From: Thomas Schwinge


Hi!

Suppose you have a huge notmuch/Xapian database, built on a 32-bit system
(well, actually on x86_64-pc-linux-gnu, but using a years old 32-bit
notmuch binary; notmuch 0.9, Xapian 1.2.21 -- don't laugh), and suppose
you're finally going to update that years old notmuch installation
(release by release, forward-porting a bunch of patches).  Naturally, I'd
now do a native 64-bit build (unless somebody tells me a 32-bit build
would actually be preferable in terms of memory savings due to pointer
sizes?).  Doing some light (read-only!) testing, it seems to work fine to
access the old 32-bit built Xapian "chert" database with 64-bit
notmuch/Xapian.  Is that (a) generally safe and expected to work fine,
(b) there may be issues, or (c) don't do that, or don't know?

(Of course, I'll eventually want to rebuild the database, to take
advantage of several new features both on the notmuch and Xapian sides,
but I'd prefer to do that later.)


Grüße
 Thomas
signature.asc (application/pgp-signature)
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: