On Mon, 14 Jan 2013, Hannes Magnusson wrote:

> > @@ -437,6 +437,7 @@
> >  
> >  	mongo_read_preference read_pref;
> >  
> > +	int force_primary; /* If set to 1 then the connection selection will request a WRITE (primary) connection */
> 
> It is possible to workaround the command API yet still execute a 
> command as a normal query. You can only know for sure if this is a 
> command or not when the query is being executed so you still need to 
> introspect the query to mark it as primary only - depending on which 
> command it was.
> 
> This flag just adds extra confusion when we implement this properly 
> and will need to be removed when we start supporting the whitelisted 
> commands.

So we'll fix it when we fix the command calling whitelist. Right now, 
this makes things work, and doesn't break anything that wasn't already 
broken.