Does juju work with a JavaScript-less mongodb?

Michael Hudson-Doyle michael.hudson at canonical.com
Mon Dec 9 21:27:28 UTC 2013


John Arbash Meinel <john at arbash-meinel.com> writes:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> ...
>
>>> Did you check the 'mgo' source as well? I thought I remember when
>>> you first connect it uses "eval" to get date stamps to check for
>>> clock skew.
>> 
>> I think you might be thinking of the state/presence package there, 
>> which uses eval for pre-2.4 mongo to do that.
>> 
>
> I just remember seeing it, not where. :)

Roger is correct.  The only uses of eval/$where in mgo are in tests.  It
/looks/ like js-less mongodb would actually work for Juju at this point
(still building...).

Cheers,
mwh



More information about the Juju-dev mailing list