Full_Name: Howard Chu
Submission from: (NULL) (126.96.36.199)
Submitted by: hyc
We've discussed this on -devel a few times in the past. Sometimes it would be
desirable to prevent a consumer from answering client requests if it has just
started up and needs to perform an lengthy refresh.
In prior discussions, there was a concern that in an MMR situation, two servers
coming up at the same time would deadlock waiting for each other. We can avoid
this problem by allowing any search request with a Sync control to proceed as
normal. Or, any search request with a Sync control and a non-empty, valid
Implementation can be done using an overlay hook. Note that syncrepl already
installs an overlay hook now for delta-mmr, this would just expand the scope of
that internal overlay.