MongoDB Documentation, Release 3.0.4 Core Server Enhancements Replication and Sharding Deployment and Production Query Language Improvements • $set with array indexes • $pull supports object matching • $unset • $addToSet • $ operator for updating arrays • partial matching of array elements $elemMatch • $not • $all with regex • new mongostat tool • enhancements to serverStatus command (db.serverStatus()) - counters and replication lag (page 647) stats • configure “slow threshold” for profiling (page 228) • ability to do fsync + lock for backing up raw files • option for separate directory per db ( --directoryperdb ) • http://localhost:28017/_status to get serverStatus via http • REST interface is off by default for security ( --rest to enable) • can rotate logs with a db command, logRotate • sharding alpha 3 - notably 2-phase commit on config servers • $inc replication fixes • replication handles clock skew on master • configurable slave delay ( --slavedelay ) • fast new slaves from snapshots ( --fastsync ) • better handling for restarting slaves offline for a while • better detection of regular expressions so the index can be used in more cases • background index creation (page 508) • indexing memory improvements • concurrency (page 758) improvements Chapter 12. Release Notes 922