directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Updating systems from trunk. How?
Date Tue, 15 May 2012 15:34:59 GMT
Hi, yes I rebuilt everything from scratch from the trunk yesterday. Still cannot search after
I'm limiting my testing to Apache Directory Studio. Version: 1.5.3.v20100330

Here is the log of my modification. 
#!CONNECTION ldap://
#!DATE 2012-05-15T11:23:51.400
dn: uid=1337085976640,ou=users,ou=int,o=cpro
changetype: modify
replace: displayName
displayName: CATest User New

A couple mins later, I try and search for 'CATest*' and there are no results.
Is there an internal timeout for searching? Is there a parameter for this?  If I dump the
user out (ldif) and re-import, I can find it via search. 

#!CONNECTION ldap://
#!DATE 2012-05-15T11:26:23.495
# LDAP URL     : ldap://,ou=int,o=cpro?hasSubordinates,objectClass?one?(displayName=CATest*)
# command line : ldapsearch -H ldap:// -x -D "uid=admin,ou=system" -W -b "ou=users,ou=int,o=cpro"
-s one -a always -z 1000 "(displayName=CATest*)" "hasSubordinates" "objectClass"
# baseObject   : ou=users,ou=int,o=cpro
# scope        : singleLevel (1)
# derefAliases : derefAlways (3)
# sizeLimit    : 1000
# timeLimit    : 0
# typesOnly    : False
# filter       : (displayName=CATest*)
# attributes   : hasSubordinates objectClass

#!CONNECTION ldap://
#!DATE 2012-05-15T11:26:23.495
# numEntries : 0

Carlo Accorsi

Carlo Accorsi | Technical Services
IBSAmerica, Inc. | | Visit IBS on LinkedIn
24 Hartwell Ave | Lexington | Massachusetts | 02421
+1-781-862-9002 (Office) | +1-781-676-8129 (Direct) | +1-781-862-9003 (Fax) 

Sign up for the IBS Blog today!

IBS provides integrated management solutions that help companies improve quality and lower

-----Original Message-----
From: Emmanuel Lécharny [] 
Sent: Monday, May 14, 2012 4:38 PM
Subject: Re: Updating systems from trunk. How?

Le 5/14/12 10:23 PM, a écrit :
> Hi,
> I have a partition and system created from 2.0.0-M7. What is the correct way to upgrade
to the 2.0.0-M8. ?
> In the past, I've just swapped out the jars with those I build from the trunk.
> For example replacing
> /lib/apacheds-service-2.0.0-M7-SNAPSHOT.jar
> /lib/apacheds-wrapper-2.0.0-M7-SNAPSHOT.jar
> Is this an acceptable way of doing it? Or do I need to export everything and rebuild
the partition?
> I'm concerned about indexes created in M7 and trying to run M8 against them.
The best solution would really be to export all the data, swap the bins, and reimpor the data.

AFAIR, we haven't changed teh format for data, but as we have removed two indexes, and deeply
modified the RDN index, keeping the data on disk will simply not work. Re-injecting the data
will recreate all the indexes.

Btw, 2.0.0-M7 is 2.5 faster than the previous version.

Thanks !

Emmanuel Lécharny

View raw message