If the tree is entirely populated with large items (MongoDB configures the maximum leaf page item to avoid overflow objects), we can still end up reading huge amounts of data on every random cursor sample. If the page is clean (that is, just read from disk), it can't be fully populated with deleted items, use it as our sample.
(cherry picked from commit a809a25052cf614f2d8fbcb4ff93a136b6d9a84f)
Co-authored-by: Keith Bostic <email@example.com> | 22 Apr 21 00:51 UTC
Evergreen Subscription: ; Evergreen Event: