[06:30:13] <svm_invictvs> in Morphia, how do I create a unique compound index?
[06:30:51] <svm_invictvs> I see how to create ac ompound index
[06:30:54] <svm_invictvs> I see how to create a unique index
[06:31:03] <svm_invictvs> but not how to create an index that is both compound and unique
[06:45:21] <aps> Hi recently updated to mongo 3.0.4 and I have started getting this message -
[06:45:21] <aps> WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.", We suggest setting it to 'never'",
[06:45:21] <aps> I can see in documentation what do I need change, but my question is, why is this showing now when I haven't changed and `transparent_hugepage` settings?
[06:46:09] <preaction> you just said you upgraded mongo
[06:47:38] <aps> Yes, but why is it like, it was okay with Mongo 2.6 but not with 3.0?
[06:47:55] <preaction> because mongo 3 detects it, and 2.6 didn't
[06:48:06] <preaction> it's still fine. read the message
[06:48:16] <preaction> it says "warning", and "suggest"
[06:49:07] <aps> cool, thanks. I have some other DBs still running at 2.6, so I was skeptical if I should make these changes
[09:21:40] <lijeesh> Hello guys, I have a cluster of two shards (two replica sets, rs1 and rs2). I am trying to move a shard to rs1 using sh.moveChunk(). But it gives me following error:
[09:21:47] <lijeesh> "errmsg" : "ReplicaSetMonitor no master found for set: rs2",
[15:50:30] <Lope> Should I be at all concerned about storing phone numbers (11 digit integers) as integers in javascript and MongoDB? Is there any chance of Javascript or MongoDB flipping a bit due to some kind of floating point thing? I seem to recall reading something once about Javascript not having a clear distinction between integers and floating point numbers?
[15:57:02] <Lope> Thanks, I don't need spacing, and I don't need leading 0 or +.
[15:58:02] <Lope> My data should be a lot smaller when storing the phone numbers as integers rather than strings. As long as JS and MongoDB don't flip any bits due to treating the integer as a floating point number, but I'm not sure if there's any risk of that with an integer?
[15:58:05] <kali> you only have javascript issues if your client application uses javascript. mongodb does not use javascript in the storage engine (BSON has stronger typed than json)
[15:59:26] <kali> i honestly would not use integer, even with a sensible language