[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5108) SID/RID: decimal or hex?



ando@sys-net.it wrote:
> Full_Name: Pierangelo Masarati
> Version: HEAD/re23
> OS: irrelevant
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (82.63.140.131)
> Submitted by: ando
> 
> 
> Should SID/RID be decimal (0-999) as in parsing and the rest of the syncrepl
> code, or hexadecimal (0-FFF) as in code generating CSN values?  I understand the
> point is (almost) moot, but we'd get there as soon as someone starts using
>> 10-way multimaster...
> 
> I'm fixing the code so that it consistently uses hex server IDs, please holler
> if using decimals is preferred.

The SID in the CSN has always been hex (but usually zero). The RID is not part 
of the CSN and has always been decimal. Since the RID only needs to be unique 
within a particular slapd instance, there's no real problem there.

-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP     http://www.openldap.org/project/