Reduce duplicate symbols, merge server_id

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue May 3 04:13:15 MDT 2011

On Tue, May 03, 2011 at 06:06:51PM +1000, Andrew Bartlett wrote:
> What I'm confused about is how this will interact with serverid.tdb.  I
> my proposal to use id2, it was clear that this combines with pid and vnn
> to form the lookup key and retrieves a unique_id.  How should this code
> work if there are multiple unique_id values for a given (pid, vnn)
> tuple?

The question is what we want to optimize for. If we want to
optimize for the standard model, we could change
serverid.tdb to have a list of unique_ids hosted by that
process, expecting that list to be short. If want to
optimize for the single process model, we need to key off a
separate in-process id. Given that, you're right that we
might need a separate ID in struct server_id. The classical
time vs space tradeoff.


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen

More information about the samba-technical mailing list