diff options
author | Ade Lee <alee@redhat.com> | 2015-07-29 14:23:35 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2015-07-31 18:35:30 -0400 |
commit | 7c4bc2480c0cb0b4bb816ec090e9673bdddce047 (patch) | |
tree | 283e6c64f6f1a250cf559d1e454fe4f3307d0eb9 /base/tks | |
parent | e1eb261b467f6e19c7e6604fc7ecb03e8b1f8166 (diff) | |
download | pki-7c4bc2480c0cb0b4bb816ec090e9673bdddce047.tar.gz pki-7c4bc2480c0cb0b4bb816ec090e9673bdddce047.tar.xz pki-7c4bc2480c0cb0b4bb816ec090e9673bdddce047.zip |
Add code to reindex data during cloning without replication
When setting up a clone, indexes are added before the
replication agreements are set up and the consumer is initialized.
Thus, as data is replicated and added to the clone db, the
data is indexed.
When cloning is done with the replication agreements already set
up and the data replicated, the existing data is not indexed and
cannot be accessed in searches. The data needs to be reindexed.
Related to ticket 1414
Diffstat (limited to 'base/tks')
-rw-r--r-- | base/tks/shared/conf/CS.cfg.in | 2 | ||||
-rw-r--r-- | base/tks/shared/conf/indextasks.ldif | 31 |
2 files changed, 33 insertions, 0 deletions
diff --git a/base/tks/shared/conf/CS.cfg.in b/base/tks/shared/conf/CS.cfg.in index f864e298a..e63f07d13 100644 --- a/base/tks/shared/conf/CS.cfg.in +++ b/base/tks/shared/conf/CS.cfg.in @@ -187,6 +187,8 @@ preop.internaldb.index_ldif=/usr/share/pki/tks/conf/index.ldif preop.internaldb.manager_ldif=/usr/share/pki/server/conf/manager.ldif preop.internaldb.post_ldif= preop.internaldb.wait_dn= +preop.internaldb.index_task_ldif=/usr/share/pki/tks/conf/indextasks.ldif +preop.internaldb.index_wait_dn=cn=index1160589773,cn=index,cn=tasks,cn=config internaldb.multipleSuffix.enable=false jss._000=## jss._001=## JSS diff --git a/base/tks/shared/conf/indextasks.ldif b/base/tks/shared/conf/indextasks.ldif new file mode 100644 index 000000000..749ac0a05 --- /dev/null +++ b/base/tks/shared/conf/indextasks.ldif @@ -0,0 +1,31 @@ +dn: cn=index1160589773, cn=index, cn=tasks, cn=config +objectclass: top +objectclass: extensibleObject +cn: index1160589773 +ttl: 10 +nsinstance: {database} +nsIndexAttribute: revokedby:eq +nsIndexAttribute: issuedby:eq +nsIndexAttribute: publicKeyData:eq +nsIndexAttribute: clientId:eq +nsIndexAttribute: dataType:eq +nsIndexAttribute: status:eq +nsIndexAttribute: description:eq,pres +nsIndexAttribute: serialno:eq,pres +nsIndexAttribute: metaInfo:eq,pres +nsIndexAttribute: certstatus:eq,pres +nsIndexAttribute: requestid:eq,pres +nsIndexAttribute: requesttype:eq,pres +nsIndexAttribute: requeststate:eq,pres +nsIndexAttribute: requestowner:eq,pres +nsIndexAttribute: notbefore:eq,pres +nsIndexAttribute: notafter:eq,pres +nsIndexAttribute: duration:eq,pres +nsIndexAttribute: dateOfCreate:eq,pres +nsIndexAttribute: revokedOn:eq,pres +nsIndexAttribute: archivedBy:eq,pres +nsIndexAttribute: ownername:eq,pres,sub +nsIndexAttribute: subjectname:eq,pres,sub +nsIndexAttribute: requestsourceid:eq,pres,sub +nsIndexAttribute: revInfo:eq,pres,sub +nsIndexAttribute: extension:eq,pres,sub |