Issue 9993 - Potential race condition in back-mdb online indexer
Summary: Potential race condition in back-mdb online indexer
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: backends (show other issues)
Version: 2.5.13
Hardware: All All
: --- normal
Target Milestone: 2.6.5
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-01 20:29 UTC by Howard Chu
Modified: 2023-07-10 21:08 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 Howard Chu 2023-02-01 20:29:42 UTC
When the online indexer completes, it should mutex-protect its resetting of the indexing flags.
Comment 2 Quanah Gibson-Mount 2023-02-02 16:36:53 UTC
  • 69f52354 
by Howard Chu at 2023-02-01T20:30:22+00:00 
ITS#9993 fix online_indexer termination/cleanup
Comment 3 Quanah Gibson-Mount 2023-04-17 18:47:19 UTC
hyc: significant code differences between 2.5 and 2.6 here.  Does this actually apply to 2.5?   If so, we need a 2.5 specific MR for it.
Comment 4 Howard Chu 2023-04-18 11:33:26 UTC
(In reply to Quanah Gibson-Mount from comment #3)
> hyc: significant code differences between 2.5 and 2.6 here.  Does this
> actually apply to 2.5?   If so, we need a 2.5 specific MR for it.

2.5 appears to be missing the #8958 patch. In fact it was specifically reverted. That needs to be in, before this patch can apply.
Comment 5 Quanah Gibson-Mount 2023-04-27 15:50:51 UTC
 • 70c7b2e9 
by Howard Chu at 2023-04-17T18:44:10+00:00 
ITS#9993 fix online_indexer termination/cleanup
Comment 6 Quanah Gibson-Mount 2023-04-27 15:51:01 UTC
(In reply to Quanah Gibson-Mount from comment #5)
>  • 70c7b2e9 
> by Howard Chu at 2023-04-17T18:44:10+00:00 
> ITS#9993 fix online_indexer termination/cleanup

RE26 commit