since last update when i start node i have this message ;
=========================================================================== ============= = Please ensure that you set the default safe variable to one of the = = allowed values of [true | false | {j:true} | {w:n, wtimeout:n} | {fsync:true}] = = the default value is false which means the driver receives does not = = return the information of the success/error of the insert/update/remove = = = = ex: new Db(new Server('localhost', 27017), {safe:false}) = = = = http://www.mongodb.org/display/DOCS/getLastError+Command = = = = The default of false will change to true in the near future = = = = This message will disappear when the default safe is set on the driver Db = =========================================================================== =============
On Monday, October 22, 2012 3:20:10 PM UTC+1, mic0331 wrote:
> hello,
> since last update when i start node i have this message ;
> =========================================================================== ============= > = Please ensure that you set the default safe variable to one of the > = > = allowed values of [true | false | {j:true} | {w:n, wtimeout:n} | > {fsync:true}] = > = the default value is false which means the driver receives does not > = > = return the information of the success/error of the > insert/update/remove = > = > = > = ex: new Db(new Server('localhost', 27017), {safe:false}) > = > = > = > = http://www.mongodb.org/display/DOCS/getLastError+Command > = > = > = > = The default of false will change to true in the near future > = > = > = > = This message will disappear when the default safe is set on the driver > Db =
On Mon, Oct 22, 2012 at 7:20 AM, mic0331 <mich...@aquamw.com> wrote:
> hello,
> since last update when i start node i have this message ;
> =========================================================================== =============
> = Please ensure that you set the default safe variable to one of the
> =
> = allowed values of [true | false | {j:true} | {w:n, wtimeout:n} |
> {fsync:true}] =
> = the default value is false which means the driver receives does not
> =
> = return the information of the success/error of the insert/update/remove
> =
> =
> =
> = ex: new Db(new Server('localhost', 27017), {safe:false})
> =
> =
> =
> = http://www.mongodb.org/display/DOCS/getLastError+Command > =
> =
> =
> = The default of false will change to true in the near future
> =
> =
> =
> = This message will disappear when the default safe is set on the driver Db
> =
> =========================================================================== =============
> Do I make something wrong ? How do I specify "safe=True" ?
> Thanks for letting me know.
> --
> You received this message because you are subscribed to the Google
> Groups "mongodb-user" group.
> To post to this group, send email to mongodb-user@googlegroups.com
> To unsubscribe from this group, send email to
> mongodb-user+unsubscribe@googlegroups.com
> See also the IRC channel -- freenode.net#mongodb
> > = Please ensure that you set the default safe variable to one of the > > = > > = allowed values of [true | false | {j:true} | {w:n, wtimeout:n} | > > {fsync:true}] = > > = the default value is false which means the driver receives does not > > = > > = return the information of the success/error of the > insert/update/remove > > = > > = > > = > > = ex: new Db(new Server('localhost', 27017), {safe:false}) > > = > > = > > = > > = http://www.mongodb.org/display/DOCS/getLastError+Command > > = > > = > > = > > = The default of false will change to true in the near future > > = > > = > > = > > = This message will disappear when the default safe is set on the > driver Db > > =
> > Do I make something wrong ? How do I specify "safe=True" ?
> > Thanks for letting me know.
> > -- > > You received this message because you are subscribed to the Google > > Groups "mongodb-user" group. > > To post to this group, send email to mongod...@googlegroups.com<javascript:> > > To unsubscribe from this group, send email to > > mongodb-user...@googlegroups.com <javascript:> > > See also the IRC channel -- freenode.net#mongodb
This is where the warning is coming from. It will be disabled when a new version of the driver is released and they finally set safe: true by default. Nothing you can do about it as far as I know.