Replication and single instance store

cyrus at univ-paris4.fr cyrus at univ-paris4.fr
Tue Sep 4 05:59:42 EDT 2007


David Carter a écrit :
> On Tue, 4 Sep 2007, Bron Gondwana wrote:
> 
>> Ah - yeah, that's right.  Except that the restart only got negotiated 
>> after each folder was processed, and if you're pushing a new folder 
>> with 200,000 messages (say, after a user move in our case) then that 
>> got a bit memory hungry and all sorts insane.
> 
> Yes, this was the 5*MAX_MAILBOX_PATH allocation for each message when
> support for partitions was added.
> 
> My original code cached 300k messages on the server between restarts 
> (without any substantial memory leak). Better, but not perfect.
> 
>> Does this mean there is no way to get single-instance-store on a replica
>> if you're rebuilding it from scratch?
> 
> No. You would need a database which maintained a persistent mapping 
> between UUID and a list of files on each partitition which are that UUID.
> 
> I'm open to suggestions.
> 


Is it possible to stop the replica. Copy the files from the spool 
directory of the master to the replica and then restart the replica. And 
make a sync_client ?
Will it cause problems of inconsistency ?



More information about the Info-cyrus mailing list