[08:18:40] <thapakazi> Asking again, how do i know if my index are being used or not ?
[08:18:47] <quattro_> thapakazi: it’s a very busy replica set, it always has around 1200 connections open, apparently the ulimit suddenly changed back to 1024
[08:22:12] <thapakazi> no idea on that domain quattro_
[08:23:17] <joannac> thapakazi: check if queries are using it? in 3.2, there's also index usage stats https://docs.mongodb.com/manual/tutorial/measure-index-use/
[10:07:58] <jokke> i need to sync two replica set nodes
[10:08:37] <jokke> i took a snapshot of the primary's data partition and used it to recreate the data partition for the secondary
[10:08:53] <jokke> if i fire up the secondary i get the following error: [rsSync] Invariant failure drec(ret)->extentOfs() < ret.getOfs() src/mongo/db/storage/mmap_v1/record_store_v1_capped.cpp 421
[11:43:08] <Twirl> Hello, I'm trying to use this module "node-mongodb-native", as a back-end to my react application, so I'm trying to import the client to connect to the database directly with var MongoClient = require('mongodb').MongoClient and it's throwing a bunch of errors that it cannot find "net", "dns" and "fs" modules (probably webpack?) am I missing something? Maybe i'm approaching this in the wrong way and I should separate the server from the client and connect i
[21:29:06] <Trinity> StephenLynx, I know you left but... if anyone else could help. The docs state that the returned object is the old version
[21:29:57] <Trinity> to be precise, I would like to remove a set of indexes from an array, since there is no operations modifier for that what I could do is unset and then remove but that would make the operation non-atomic
[21:30:23] <Trinity> now if I find the array edit it in javascript and then update it again it should be atomic except there could possibly be a race condition if more than one process was working on that document
[21:31:02] <Trinity> i.e I find the document, another process updates the document, and my update which was dependent on the previous find's version of the doc now updates it to something else
[21:31:08] <cheeser> this doesn't do what you want? https://docs.mongodb.com/manual/reference/operator/update/pull/
[21:31:34] <Trinity> cheeser, can i use it to pull by index?
[21:31:54] <Trinity> i.e someItem: [0,1,2,3,4,5] and I only want to remove index 0 and 1