From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,e096a424ab6d3dc6 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-09-17 20:52:02 PST Newsgroups: comp.unix.osf.misc Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!atria.com!pluto!mishkin From: mishkin@atria.com (Nathaniel Mishkin) Subject: Re: [DCE] unexporting/unregistering servers Message-ID: Sender: news@atria.com Nntp-Posting-Host: 192.88.237.52 Organization: Atria Software, Inc. X-Newsreader: TIN [version 1.2 PL0] References: <27d4tuINNdcq@darkstar.UCSC.EDU> Date: Sat, 18 Sep 1993 00:59:42 GMT Thuan Q. Pham (thuan@hpltp.hpl.hp.com) wrote: : If you want to do clean up (which we should), call the unexport routines. : These are very similar to the export routines you call when you set the : server up: : quitServer() : { : rpc_ep_unregister() /* clean up the local endpoint mapper */ : rpc_ns_binding_unexport() /* unregister the interface from name space */ : rpc_binding_vector_free() /* if you still have binding vectors around */ : } There is a school of thought that says that unexporting a server from the CDS namespace is not necessarily such a good idea because in the case of replicated directories the unexport operation (actually all modifying operations) is moderately expensive (induces propagation load). And (so goes the school), why bother anyway? In case the server's whole machine crashed, the "cleanup" won't happen, thus all clients must be prepared to deal with "bad" entries anyway. How about unexporting as a "favor" to clients (to minimize the latency associated with discovering the bad entries) then? Now we're into more subjective territory. Arguably if clients did a reasonable job of long-term caching server "goodness" information (i.e., remembered not to try to access servers observed to be bad within some interval of time), then server's unexporting wouldn't be such a favor (and would have that nasty replication overhead). Of course one could wish that replication were cheaper. -- -- Nat Mishkin Atria Software, Inc. mishkin@atria.com