Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Re: [wiredtiger-users] Digest for wiredtiger-users@googlegroups.com - 2 updates in 1 topic

17 views
Skip to first unread message

Marc Butler

unread,
Aug 7, 2024, 11:47:43 PM8/7/24
to wiredtig...@googlegroups.com
Hi Matan,
I wanted to follow up to apologize and let you know that this has not been forgotten.
Rather when trying to create the diagram it was noted that checkpoint documentation is out of date with respect to the behavior of the code.
I've only just now been able to return to this task, but it will take me some time reconcile and validate my understanding with more senior engineers on the project.
Your patience is very much appreciated.
Regards,
Marc

On Wed, Jul 17, 2024 at 3:42 AM <wiredtig...@googlegroups.com> wrote:
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.
Reply all
Reply to author
Forward
0 new messages