94c7401 Ticket 49476 - refactor ldbm backend to allow replacement of BDB

Authored and Committed by lkrispen a month ago
45 files changed. 17179 lines added. 15509 lines removed.
Makefile.am
file modified
+13 -7
dirsrvtests/tests/suites/config/autotuning_test.py
file modified
+18 -15
dirsrvtests/tests/suites/config/config_test.py
file modified
+6 -3
ldap/servers/slapd/back-ldbm/ancestorid.c
file modified
+1 -693
ldap/servers/slapd/back-ldbm/archive.c
file modified
+19 -18
ldap/servers/slapd/back-ldbm/back-ldbm.h
file modified
+4 -4
ldap/servers/slapd/back-ldbm/cleanup.c
file modified
+7 -6
ldap/servers/slapd/back-ldbm/db-bdb/bdb_config.c
file added
+2207
ldap/servers/slapd/back-ldbm/db-bdb/bdb_import.c
file added
+3405
ldap/servers/slapd/back-ldbm/db-bdb/bdb_import_threads.cldap/servers/slapd/back-ldbm/import-threads.c
file renamed
+22 -46
ldap/servers/slapd/back-ldbm/db-bdb/bdb_instance_config.c
file added
+293
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c
file added
+6054
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.h
file added
+163
ldap/servers/slapd/back-ldbm/db-bdb/bdb_ldif2db.c
file added
+3311
ldap/servers/slapd/back-ldbm/db-bdb/bdb_misc.c
file added
+394
ldap/servers/slapd/back-ldbm/db-bdb/bdb_monitor.cldap/servers/slapd/back-ldbm/monitor.c
file renamed
+5 -7
ldap/servers/slapd/back-ldbm/db-bdb/bdb_upgrade.cldap/servers/slapd/back-ldbm/upgrade.c
file renamed
+7 -8
ldap/servers/slapd/back-ldbm/db-bdb/bdb_verify.c
file added
+233
ldap/servers/slapd/back-ldbm/db-bdb/bdb_version.cldap/servers/slapd/back-ldbm/dbversion.c
file renamed
+15 -16
ldap/servers/slapd/back-ldbm/dbhelp.c
file removed
-353
ldap/servers/slapd/back-ldbm/dblayer.c
file modified
+277 -6351
ldap/servers/slapd/back-ldbm/dblayer.h
file modified
+83 -91
ldap/servers/slapd/back-ldbm/dbsize.c
file modified
+4 -5
ldap/servers/slapd/back-ldbm/dbverify.c
file modified
+2 -209
ldap/servers/slapd/back-ldbm/idl.c
file modified
+30 -4
ldap/servers/slapd/back-ldbm/import-merge.c
file removed
-705
ldap/servers/slapd/back-ldbm/import.c
file modified
+3 -1650
ldap/servers/slapd/back-ldbm/import.h
file modified
+1 -6
ldap/servers/slapd/back-ldbm/init.c
file modified
+0 -21
ldap/servers/slapd/back-ldbm/instance.c
file modified
+7 -3
ldap/servers/slapd/back-ldbm/ldbm_config.c
file modified
+295 -1165
ldap/servers/slapd/back-ldbm/ldbm_config.h
file modified
+7 -1
ldap/servers/slapd/back-ldbm/ldbm_index_config.c
file modified
+1 -1
ldap/servers/slapd/back-ldbm/ldbm_instance_config.c
file modified
+158 -275
ldap/servers/slapd/back-ldbm/ldif2ldbm.c
file modified
+48 -3515
ldap/servers/slapd/back-ldbm/proto-back-ldbm.h
file modified
+11 -36
ldap/servers/slapd/back-ldbm/rmdb.c
file modified
+4 -1
ldap/servers/slapd/back-ldbm/start.c
file modified
+34 -269
ldap/servers/slapd/back-ldbm/vlv_srch.c
file modified
+3 -3
ldap/servers/slapd/main.c
file modified
+2 -4
ldap/servers/slapd/result.c
file modified
+8 -1
ldap/servers/slapd/slapi-plugin.h
file modified
+4 -2
ldap/servers/slapd/task.c
file modified
+0 -15
src/lib389/lib389/_constants.py
file modified
+1 -0
src/lib389/lib389/config.py
file modified
+19 -0
    Ticket 49476 - refactor ldbm backend to allow replacement of BDB
    
    BACKEND REDESIGN -Phase 1
    
    This patch provides the first phase of the backend redesign. It does
    split the configuration of the LDBM layer and the DB specific layer.
    
    The dblayer_private defines a set of functions to be used by the LDBM
    layer and to be implemented by the DB layer.
    
    Currently this is only done for the BDB implementation, the patch automatically
    splits the configuration for existing instances
    
    See also:
    
    http://www.port389.org/docs/389ds/design/backend-redesign.html
    
        
file modified
+13 -7
ldap/servers/slapd/back-ldbm/db-bdb/bdb_import_threads.c ldap/servers/slapd/back-ldbm/import-threads.c
file renamed
+22 -46
ldap/servers/slapd/back-ldbm/db-bdb/bdb_monitor.c ldap/servers/slapd/back-ldbm/monitor.c
file renamed
+5 -7
ldap/servers/slapd/back-ldbm/db-bdb/bdb_upgrade.c ldap/servers/slapd/back-ldbm/upgrade.c
file renamed
+7 -8
ldap/servers/slapd/back-ldbm/db-bdb/bdb_version.c ldap/servers/slapd/back-ldbm/dbversion.c
file renamed
+15 -16
file modified
+2 -4
file modified
+8 -1
file modified
+0 -15
file modified
+19 -0