osstech-jp / openldap

OpenLDAP mirror and OSSTech works (WiredTiger backend and so on)
http://www.osstech.co.jp/product/openldap
Other
15 stars 15 forks source link

back-wt database is not set "SLAP_DBFLAG_CLEAN" #10

Open yasumatk opened 2 years ago

yasumatk commented 2 years ago

If "SLAP_DBFLAG_CLEAN" is not set for a backend database, the initialization process of the syncprov overlay reads all entries in the backend database. As a result, slapd startup time will increase on the back-wt database with a large number of entries. So, back-wt should be set "SLAP_DBFLAG_CLEAN" in back-wt/init.c.

hamano commented 2 years ago

https://git.openldap.org/openldap/openldap/-/merge_requests/459