Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Checkpoint deleted multiple times

16 views
Skip to first unread message

Matan Tennenhaus

unread,
Aug 24, 2024, 8:27:43 AM8/24/24
to wiredtiger-users
Hi:
In test_hs01, observed that after simulating recovery by copying the wiredtiger home, and opening a new connection (while the original connection still active), the files are getting a checkpoint, and as a result older checkpoints are deleted.
Afterwards, the original connection with it's sessions gets a regular checkpoint request, so again files are getting a checkpoint, and older checkpoints are deleted, but it's the same ones that were deleted in the recovery check.
I'll define my problem: I added a flow to a checkpoint deletion that cannot happen twice. Therefore, the flow above is problematic to me.
Is there a way for me to know if a checkpoint was deleted before and help me overcome my issue? (or whether the fact that it's 2 different connections that separate the data completely makes it a little impossible?)

Many thanks.

Will Korteland

unread,
Aug 26, 2024, 10:37:42 PM8/26/24
to wiredtig...@googlegroups.com
Hi Matan,

Thanks for your continued interest in WiredTiger.

It sounds like the problem you're describing is the checkpoint getting deleted across multiple WiredTiger instances, is that correct? If so, there's not really anything WiredTiger can do about that, since neither WiredTiger will know the other database even exists. But I would also point out that if your use case doesn't involve spinning up a second WiredTiger like that test, then you won't hit the case that's problematic for you.

Regards,
 - Will

--
You received this message because you are subscribed to the Google Groups "wiredtiger-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wiredtiger-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wiredtiger-users/efaa5d0b-7733-4390-8104-d8d7b8169cfbn%40googlegroups.com.

Marc Butler

unread,
Aug 27, 2024, 6:16:02 PM8/27/24
to wiredtig...@googlegroups.com
Hi Matan,

In test_hs01.py there are 4 invocations of durable_check() that copy the test WT home into BACKUP overwriting any pre-existing BACKUP dir. After copying it opens a new connection on the and runs a check on the
backup.

Are you concerned that you see checkpoints in both?

Regards,
Marc

Matan Tennenhaus

unread,
Sep 1, 2024, 4:05:39 AM9/1/24
to wiredtiger-users
Hi, yes, but it understand that its regular behavior for Wiredtiger today so I will need to handle it.. 
Thanks any way
Matan

ב-יום רביעי, 28 באוגוסט 2024 בשעה 01:16:02 UTC+3, Marc Butler כתב/ה:
Reply all
Reply to author
Forward
0 new messages