Comment 9 for bug 1344940

Revision history for this message
Ian Booth (wallyworld) wrote :

I've emailed Mark Ramm an update to distribute to stakeholders. Here's a summary:

Bug 1345832 (unnecessary writes to database for unchanged api host addresses)
Fix committed to trunk, being backported to 1.20

1. Mongo oplog size

The allocated file size as is. It's not the file size that's the problem but the constant writes.

2. Should the presence database be replicated.

 tl;dr; Juju's implementation has evolved to the point whereby the use of a presence database (and associated replication thereof) is no longer an optimal approach. Andrew is investigating a solution whereby the presence status is maintained in memory and communicated amongst state servers via api calls.

3. Don't configure a repliaset before we have one.

We don't want to introduce complexity by going down this road. The cost to setting up a replicaset is minimal compared with the
complexity and additional moving parts needed to initially configure without a replicaset and activate later when needed. Most if not all serious deployments will want HA and HA means using a replicaset.