gadicc / meteor-messageformat

MessageFormat i18n support for Meteor, with reactive templates
54 stars 22 forks source link

[v2] Error appearing sometimes on hot code push #177

Closed tcastelli closed 8 years ago

tcastelli commented 9 years ago

Not sure if it is related to some other bug but sometimes I see this message on the console (server restarts a few times and then everything works)

W20151019-02:15:09.946(2)? (STDERR) MongoError: insertDocument :: caused by :: 11000 E11000 duplicate key error index: meteor.mfStrings.$_id_  dup key: { : "3bnNJQAte8aoCqBne" }
W20151019-02:15:09.946(2)? (STDERR)     at Object.Future.wait (C:\Users\xxxx\AppData\Local\.meteor\packages\meteor-tool\1.1.9\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:398:15)
W20151019-02:15:09.946(2)? (STDERR)     at [object Object].<anonymous> (packages/meteor/helpers.js:119:1)
W20151019-02:15:09.946(2)? (STDERR)     at [object Object].MongoConnection.(anonymous function) [as insert] (packages/mongo/mongo_driver.js:736:1)
W20151019-02:15:09.946(2)? (STDERR)     at OptimizedApply (packages/meteorhacks_kadira/lib/utils.js:31:1)
W20151019-02:15:09.947(2)? (STDERR)     at Object.ret.(anonymous function) [as insert] (packages/meteorhacks_kadira/lib/hijack/db.js:20:1)
W20151019-02:15:09.947(2)? (STDERR)     at [object Object].Mongo.Collection.(anonymous function) (packages/mongo/collection.js:586:1)
W20151019-02:15:09.947(2)? (STDERR)     at [object Object].Mongo.Collection.(anonymous function) [as insert] (packages/aldeed_collection2/packages/aldeed_collection2.js:195:1)
W20151019-02:15:09.947(2)? (STDERR)     at Object.mfPkg.langUpdate (packages/msgfmt_core/packages/msgfmt_core.js:3179:1)
W20151019-02:15:09.947(2)? (STDERR)     at Object.mfPkg.addNative (packages/msgfmt_core/packages/msgfmt_core.js:3219:1)
W20151019-02:15:09.947(2)? (STDERR)     at server/extracts.msgfmt.js:1:1
W20151019-02:15:09.948(2)? (STDERR)     - - - - -