SERVER-135415ClosedFixed

Modify read path to read all pages for all gens and get the highest complete one, if any. Assume no gen = 0.

Read every page of the stat in a single snapshot and use the highest gen_id whose pages 0 to num_pages-1 are all present. Fall back if no generation is complete. * Read with the {{INTERRUPT_ONLY}} yield policy and exhaust the cursor in one go (no getMores), so the read never abandons its snapshot. * Assume gen_id = 0 for documents written before gen_ids existed. See WRITING-11150, ANNEX II.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
M1P1-M1psame