Quanah Gibson-Mount pushed to branch OPENLDAP_REL_ENG_2_6 at openldap / OpenLDAP
Commits: 5be1853a by Ondřej Kuzník at 2022-01-12T21:44:42+00:00 ITS#9584 Track refreshing status explicitly
A refresh can jump across multiple threads, we cannot just lock a mutex, we need to track who that is and clear when finished.
In addition to that, fix our internal syncrepl session tracking pulling it closer to RFC 4533, refreshDone now represents the receipt of refreshDone flag. Refreshing status is maintained for plain refreshes (and times when we might be starting one but don't know for sure).
We still reschedule a new sync with a delay if there is another one running but tracking refreshes this way paves the way to being able to wake them up if we start tracking them somehow.
- - - - - b770636d by Quanah Gibson-Mount at 2022-01-12T21:46:23+00:00 ITS#9584
- - - - -
2 changed files:
- CHANGES - servers/slapd/syncrepl.c
View it on GitLab: https://git.openldap.org/openldap/openldap/-/compare/9d49da5068d00318d496d66...