← Back to team overview

maas-devel team mailing list archive

Re: File-storage replication; was MAAS testing: maas - 0.1+bzr1002+dfsg-0+1018+87~ppa0~quantal1

 

On Thursday 20 September 2012 14:41:53 Gavin Panella wrote:
> On 20 September 2012 02:01, Julian Edwards <julian.edwards@xxxxxxxxxxxxx>
> wrote: ...
> 
> > It depends!  Can you reconcile the files in MEDIA_ROOT against the entries
> > in the database table `maasserver_filestorage`?  If they got out of sync
> > it's possibly a bug but it's more likely that someone deleted the
> > files/database rows manually and didn't get it right.
> 
> This reminded me of one reason to use MongoDB that we're going to
> miss: replication for filestorage on region controllers (via gridfs).
> Solution: put the files in PostgreSQL bytea fields?

Possibly.  The way it's done now is just Django's file field implementation, 
but there's probably not much to gain from changing it right now.


References