- checkpoints deletion & extents lists merging - 2 Updates
Marc Butler <marc....@mongodb.com>: Jul 16 04:57PM +1000
Hi Matan,
The diagram is taking a little longer than expected as I iterate over it.
I think the term overlap only describes the notional relationship
between the entries in the respective Alloc and Discard extent lists.
As a single extent entry will represent a contiguous region of blocks,
extents in different lists describe overlapping regions of the file.
From the example:
Merge A + B
Alloc [IJK] + [L] => [IJKL]
Discard [] + [J] => [J]
So the extent [J] in the Discard list overlaps with extent [IJKL] in the
Alloc list.
Regards,
Marc
On Mon, Jul 15, 2024 at 3:42 PM Matan Tennenhaus <mata...@gmail.com>
wrote:
Matan Tennenhaus <mata...@gmail.com>: Jul 16 01:17AM -0700
Thanks for the answer.
First of all again appreciate the fact that you are preparing a detailed
response.
About my last question, i did understand the overlapping definition, not
the logic behind searching for overlapping, isn't just the fact the extent
is in the discard list enough to move it to ckpt_avail for reuse after the
checkpoint is resolved?
BTW, i did manage to get some answers for my questions from the notes
inside the code, they are great (mainly in __ckpt_process). But, at this
opportunity, one final thing that I did not understand at all from anywhere
in the code, is how the extends are used in recovery. (If its too much
unrelated to the rest of my questions, maybe just pointing out for me to
the relevant functions in the code and a simple explanation is good).
Many Thanks,
Matan.
ב-יום שלישי, 16 ביולי 2024 בשעה 09:57:59 UTC+3, Marc Butler כתב/ה:
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to wiredtiger-use...@googlegroups.com.