[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: syncrepl overlay
A potential solution is to update the pre-modify test status in the response
path.
This is in fact to manage the pre-modify test status per one psearch-entry
pair.
In the first 00x01 case for instance,
1) REQ1: 0
2) REQ2: 0
3) RES2: 1
4) RES1: 1
If at step 3), the pre-modify test result for the psearch-entry pair is
changed to 1
by the result callback, step 4) can generate UPDATE instead of ADD message.
Another issue to consider is how to test an entry for a psearch in the
result callback.
It seems to me that the updated entry needs to be duplicated for testing in
the callback.
- Jong-Hyuk