Issue 9398 - Stale accesslog cookie due to unclean shutdown
Summary: Stale accesslog cookie due to unclean shutdown
Status: UNCONFIRMED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.56
Hardware: All All
: --- development
Target Milestone: 2.7.0
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-19 18:41 UTC by Quanah Gibson-Mount
Modified: 2023-11-07 17:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Quanah Gibson-Mount 2020-11-19 18:41:20 UTC
If slapd terminates uncleanly, a checkpoint will be lost on the accesslog db.  Depending on the syncprov overlay checkpoint settings (usually no checkpointing is enabled on the accesslog db) this can cause the system to refuse engage in replication at startup.
Comment 1 Quanah Gibson-Mount 2021-01-21 21:00:34 UTC
Need to determine the correct method of handling this, to be reviewed again for beta.
Comment 2 Ondřej Kuzník 2023-11-07 17:18:09 UTC
syncprov might be able to tell the backend not to commit its TXN on applying the modification, then send the contextCSN update in the result callback. Would remove some of the concerns about performance and I/O impact that has caused us to do contextCSN checkpoints.