[SERVER-3711] Record::touch with entireRecord true need to check bounds of mapped region Created: 29/Aug/11  Updated: 06/Dec/22  Resolved: 14/Sep/18

Status: Closed
Project: Core Server
Component/s: MMAPv1, Storage
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Backlog - Storage Execution Team
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-3633 three/four potential seg faults for n... Closed
Duplicate
is duplicated by SERVER-3635 for non in mem yielding, touch / chec... Closed
Related
related to SERVER-4667 Improve support for mincore() Closed
Assigned Teams:
Storage Execution
Participants:

 Comments   
Comment by Dwight Merriman [ 06/Dec/12 ]

so apparently the case that is tricky is on a drop() of some sort then the region we were looking at is no longer valid.

given the filesystem will be doing some readahead, not sure what is optimal.

Comment by Eliot Horowitz (Inactive) [ 20/Dec/11 ]

The document can be changed such that reading the obj size is invalid.

Comment by Dwight Merriman [ 17/Dec/11 ]

why must it be checked
other than just to catch corrupt db image

aside: it is likely best to not page in a 8MB document ahead of time, but rather just part of it, so may want to stop at some point.

for btree buckets we should be sure to touch both pages

Generated at Thu Feb 08 03:03:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.