[Maas-devel] File-storage replication; was MAAS testing: maas - 0.1+bzr1002+dfsg-0+1018+87~ppa0~quantal1
Gavin Panella
gavin.panella at canonical.com
Thu Sep 20 13:41:53 UTC 2012
On 20 September 2012 02:01, Julian Edwards <julian.edwards at canonical.com> 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?
More information about the Maas-devel
mailing list