Re: Replication and single instance store

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ?

----
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


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux