directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Carlo.Acco...@ibs-ag.com>
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
modification. 
I'm limiting my testing to Apache Directory Studio. Version: 1.5.3.v20100330

Here is the log of my modification. 
#!RESULT OK
#!CONNECTION ldap://10.1.2.112:10389
#!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. 

#!SEARCH REQUEST (146) OK
#!CONNECTION ldap://10.1.2.112:10389
#!DATE 2012-05-15T11:26:23.495
# LDAP URL     : ldap://10.1.2.112:10389/ou=users,ou=int,o=cpro?hasSubordinates,objectClass?one?(displayName=CATest*)
# command line : ldapsearch -H ldap://10.1.2.112:10389 -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

#!SEARCH RESULT DONE (146) OK
#!CONNECTION ldap://10.1.2.112:10389
#!DATE 2012-05-15T11:26:23.495
# numEntries : 0



Regards,
Carlo Accorsi

Carlo Accorsi | Technical Services
IBSAmerica, Inc. | www.ibs-us.com | 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
costs.


-----Original Message-----
From: Emmanuel Lécharny [mailto:elecharny@gmail.com] 
Sent: Monday, May 14, 2012 4:38 PM
To: users@directory.apache.org
Subject: Re: Updating systems from trunk. How?

Le 5/14/12 10:23 PM, Carlo.Accorsi@ibs-ag.com 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 !


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Mime
View raw message