PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 29th of August, 2020

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[19:13:05] <SJr> I've noticed that if multiple threads issue a "createIndex()" call with background: true, then only first one blocks, and the subsequent ones all pass, even though the index doesn't exist yet. Is there an easy way to have all clients stop when the index is building?
[21:22:26] <torniq> i'm not sure if it exists, but they're called advisory locks on mysql. You can set one and it will block. check mongodb advisory lock on google
[21:35:01] <SJr> Yeah I didn't see anything like that at all in the mongo documentation.