SERVER-13499 bulk insert check for yield less often

(cherry picked from commit 68d42de9a958688acbf659dfb651fb699e9d7394)

Conflicts:
	src/mongo/db/commands/write_commands/batch_executor.cpp
SERVER-12638 Sharding chunks ranges overlap

(cherry picked from commit bc26f73ef697c844cde8e4561bbf9a9c2f4728be)
SERVER-13066 allow negations to use multikey indices

(cherry picked from commit 7aa932a23fd1c429d7b3d8cbd96d865526c149c9)
SERVER-13203 replset2.js no longer swallows exceptions or assertions

(cherry picked from commit 42e199594d2a9221307317ee6a9ae83b19ef875a)
SERVER-13462 Ignore orphan docments in sharding_migrate_cursor1.js

(cherry picked from commit 789097cb1823b849e6598ac8e4a3ecff9befd682)
SERVER-13466 Use correct namespace in write error when collection creation fails

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
(cherry picked from commit 56136a9d8f165fe9ec74bb4928404206ce63610f)
SERVER-13477 make rollback5.js less likely to fail due to its assumption about which node is primary

(cherry picked from commit acc04078339e0a11a33a22ea7aacad8115d7f399)
SERVER-13495: fix ClientCursor::_pinValue concurrency

(cherry picked from commit 97bead396f78b168eae2774af5b784827d8341c6)
SERVER-13507 increased stability of stepdown_wrt_electable.js by altering its use of parallel shells

(cherry picked from commit 8784c38f824b9666dd3c68b80cd6069ef2970694)
SERVER-13486 check obj size when building return of geonear cmd

(cherry picked from commit b4a2cc96b18cacdfece81215d9d8c7a3a84ba20a)
SERVER-13515 Check canonicalized version of logpath in Windows service startup

(cherry picked from commit b5c283687ce6c4a753f6c4ddfc5b79c464b23c75)
SERVER-13516 When failing to bulk right copy don't access rep after resolving

(cherry picked from commit e5be760537665a25da2bc632a111859f1b8bbf79)
SERVER-13489 move disk reading out of index scan ctor

(cherry picked from commit 5f3174ac46b169a90e1e17a7327a21824609abbf)
SERVER-13489 move possible disk access out of index cursor ctor

(cherry picked from commit ae2dc0a937cd66c249d0d98802fe8229e1a32df8)
SERVER-13500 prevent syncSourceFeedback segfault by not allowing NULL members to be added to _members map

(cherry picked from commit ba3823f2a7c08a022bebbe8accebba8893582e09)
SERVER-13518 generate _ids in write batches if not set in mongos
(cherry picked from commit 4b589d8aab1675e03dc7efafc32239bda660fe96)
SERVER-13518 break child batches up by size or number of documents
(cherry picked from commit 0b1994a25c85324ea413a95ace2470be3efb7db5)

Also includes SERVER-13518 make sure all tested updates are valid with update exprs
(cherry picked from commit 836b1d82810d4b7d98eed8c789f71ed45f473b85)
SERVER-9358 Prevent logRotate twice in the same second from losing log data

(cherry picked from commit d53521c9534d579d44582bb06cb37d73ffeab931)
SERVER-13537 better handle numerical overflow of large limit values

(cherry picked from commit 3e4b9474749fc3b4df182d813e09a26b0e02fcc6)
SERVER-13557 disallow negated elemMatch value from using an index scan

(cherry picked from commit 45cf39c95d0fdfcb15b483e2d50b392a95735043)