[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/servers/slapd/back-sql search.c



ando@OpenLDAP.org wrote:

Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-sql

Modified Files:
	search.c  1.73 -> 1.74

Log Message:
wait until syncprov freezes

At this point all the tests pass. The only big downside I see at the moment is that it doesn't checkpoint the contextCSN back into the underlying database. I originally was going to do that, and then I decided to have it search at runtime, but this search could get unmanageable on a large database, with a consumer that has no previous state. So I'm probably going to put the checkpointing back in.

The contextCSN is currently held only in memory, although it is exposed as an operational attribute of the database suffix/root entry. Storing it there is no problem. I'll be modifying slapadd to automatically update it on adds, and deleting any references to syncProviderSubentry.

--
 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support