PermaLinkThe Haunted Directory Catalog
08:22:55 PM

The archiving product I work on relies on a directory catalog that is pulled onto our archiving servers from the Domino Directory of our customer's mail domain. I have some code that processes the data in the directory catalog database. It doesn't work directly with our customer's Domino Directory data because our customers are a lot more comfortable with letting us use the standard Domino dircat process to read their Domino Directory than they are with letting our custom code read it, and for other reasons that I can't really go into here.


A few days ago I was testing my code and I was using one particular archiving server in a large test network. This network consists of 20 mail servers, an archiving server that acts as the hub, 10 additional archving servers that are configured for a production.workload, and one additional archiving server that I use as a testbed and for some monitoring tasks. The hub runs the dircat task to maintain the directory catalog, and all of the other archiving servers have a replica of it. When I tried to test my code on the testbed server, though, I was quite surprised to find that the directory catalog database was empty! I checked the hub, and it was empty there, too.


So, naturally I rmanually loaded the dircat task to rebuild the directory catalog, and I saw it get populated with more than 140,000 docments -- exactly what I expected. I issued a pull command from the testbed server, and I saw that nothing happened. I cleared replication history, re-issued the pull command, and then I turned my attention elsewhere for a while. When I came back to it, I found nothing in the directory catalog database on the testbed, and... the replica on the hub was empty again! I asked around, and nobody had deleted anything. I checked replication logs, and I found no evidence of a mass deletion occurring on any of the servers -- though admittedly my check was pretty cursory.


For my next attempt, I once again re-populated the directory catalog by running dircat manually, and this time I deleted the replica on the testbed server and created a new replica stub for it. I issued the pull command, and again turned my attention elsewhere. When I came back, I saw that the documents were in the replica of the directory catalog on the testbed server, but about ten minutes later they were gone! And they were gone from the hub, too.


The next step was to set ACLs so that only the hub had Manager access, and all the other servers only had Reader access. This stablized the situation on the hub, but after another round of clearing history and doing replication around all of the spokes... none of the other servers had any documents in their replicas of the directory catalog!


I decided the doggone thing was haunted.

br>

My colleagues and I thought about it a little more, and the only reasonable explanation seemed to be that the dircat task must re-use UNIDs, and there must be deletion stubs for all of the documents in all the replicas except for the ones on the hub and on the testbed server, so someone (or something) must have deleted all the documents from the directory catalog at some point. Nobody admitted to being the someone, though. I confirmed this scenario by running a bit of code that purges (and counts) all the stubs. Even after that I had to clear replication history, but the documents did replicate to all the archiving servers after I did that.


My conclusion is that deleting documents from a directory catalog will haunt you. Don't do it. Delete them only from the source database. Set your ACLs for directory catalogs as restrictively as possible to prevent it from happening accidentally. Perhaps this is well-known to those of you who do Domino administration full-time, but it sure caught me by surprise.

This page has been accessed 391 times. .
Comments :v

1. Bill03/25/2010 05:07:12 AM
Homepage: http://www.billbuchan.com


Very odd. I thought UNIDs used current time as a component.. Re-use of UNIDs therefore only hurts if you roll server time back (never do is).

Curiouser and curiouser..

---* Bill




2. Vitor Pereira04/01/2010 05:07:32 AM
Homepage: http://www.vitor-pereira.com


Ouch! Ain't that fun!




3. Louis vuitton replica06/24/2014 10:45:49 PM
Homepage: http://www.designedbymonkeys.com/session1.asp


With the banking abatement acute harder and harder aloft us, humans are alpha to feel the pinch. Even celebrities accept started acid aback on expenses. Almost every newspaper, blog or website you about-face to http://www.55kipcenter.org/photo.html has added account on how humans are getting laid off or asked to yield a continued vacation. The way it's going, there is no acceding that even those who are in almost safe positions can abide after jeopardy. One of http://www.betterwallpaper.co.uk/top.aspx the aboriginal things humans do in such a austere bearings is to cut aback their expenses. Many of us would accept lived out the acceptable times benumbed the acclaim agenda wave, spending added than we can allow and architecture up debts. The best way to cut spending and accord debts is to http://www.french-resources.co.uk/jobs.html astute up on big-ticket purchases that are absolutely avoidable.Louis Vuitton handbags accept consistently had a around-the-clock appeal. They accept active a position of pride and accept an enviable afterward of http://www.french-resources.co.uk/loading.asp adherent buyers. Every new appearance appear by the aggregation is lapped up by agog fans. There is a acumen for that. You see, Louis Vuitton has bigger on its quality, chic, beauty, appearance and ability over the years. For example, something like the Monogram Denim Mahina XS can accomplish any woman angle out from the crowd; or, if you wish 18-carat leather, try the Balenciaga Giant City Bag. Nothing can exhausted the appearance caliber of these bags. A Louis Vuitton accent can transform your wardrobe.




4. ninest12304/23/2016 04:46:48 AM


http://www.oakleyvault.us.com/
http://www.oakley--sunglasses.com.co/
http://www.oakleysunglassesoutlet.us.org/
http://www.oakleysunglasses.us.com/
http://www.oakleysunglasses.com.co/
http://www.rayban-sunglass.us.com/
http://www.ray-ban-sunglass.us.com/
http://www.rayban--sunglasses.org/
http://www.polo-ralph-lauren.us.com/
http://www.polo-ralph-lauren-outlet.us.com/
http://www.burberry-outlet-store.us.com/
http://www.burberryoutlet-store.us.com/
http://www.michaelkors-outlet-online.us.org/
http://www.outletonline-michaelkors.com/
http://www.michaelkors-outlet-online.us.com/
http://www.michael-korsoutlet.in.net/
http://www.michaelkors-outlet-store.us.com/
http://www.michaelkors-handbags.in.net/
http://www.uggs-outletboots.in.net/
http://www.uggsoutlet.us.com/
http://www.uggs-outlet.in.net/
http://www.cheapuggboots.in.net/
http://www.cheap-uggs.in.net/
http://www.louisvuitonoutlet.us.com/
http://www.louisvuitton-outlets.org/
http://www.louisvuitton.ar.com/
http://www.louisvuitton-outlet-store.com/
http://www.louis-vuittonhandbags.org/
http://www.redbottoms.in.net/
http://www.christianlouboutin-outlet.in.net/
http://www.christian-louboutin-shoes.in.net/
http://www.christian-louboutin.org.uk/
http://www.rolexreplicawatches.us.com/
http://www.replica--watches.com/
http://www.air-jordanshoes.net/
http://www.nike--outlet.com/
http://www.toryburch-outletonline.in.net/
http://www.guccioutlet-online.us.com/
http://www.prada-handbags.us.com/
http://www.prada-outlets.in.net/
http://www.longchamp-outlet.in.net/
http://www.longchamphandbags.in.net/
http://www.longchamphandbagsoutlet.us.com/
http://www.tiffany-and-co.us.com/
http://www.tiffanyjewelry.us.com/
http://www.nikeairmaxinc.net/
http://www.nikeair-max.net/
http://www.nike-freerun.com/
http://www.chanel-handbags-outlet.in.net/
http://www.katespadeoutlets.cc/
http://www.katespade-handbags.in.net/
http://www.coachoutlet-online.in.net/
http://www.coachfactory-outletonline.in.net/
http://www.coachoutletstoreonline.jp.net/
http://www.coachpurse.in.net/
http://www.true-religionoutlet.in.net/
http://www.truereligionjeansoutlet.us.com/
http://www.truereligionoutlets.in.net/
http://www.cheaptruereligion.us.com/
http://www.nike-airmax-pas-cher.fr/
http://www.nikeair-max.fr/
http://www.airjordanpas-cher.fr/
http://www.nikefreerun.fr/
http://www.nike-roshe-run.fr/
http://www.sac-longchamp-pas-cher.fr/
http://www.sac--longchamps.fr/
http://www.poloralphlauren-pascher.fr/
http://www.louboutin-pas-chere.fr/
http://www.sac-michaelkors-pascher.fr/
http://www.sac-burberry-pascher.fr/
http://www.lunette-oakley-pascher.fr/
http://www.lunette-rayban-pas-cher.fr/
http://www.hollister-abercrombiefitch.fr/
http://www.sachermes.fr/
http://www.vanspas-cher.fr/
http://www.timberland-paschere.fr/
http://www.newbalancesoldes.fr/
http://www.converse-pas-cher.fr/
http://www.the-north-face.fr/
http://www.niketnrequin-pascher.fr/
http://www.polo-lacoste-pascher.fr/
http://www.nikeblazerpaschere.fr/
http://www.nikeair-force.fr/
http://www.sac-guesspascher.fr/
http://www.sac-vanessa-bruno.fr/
http://www.scarpehogan--outlet.it/
http://www.rayban-sunglasses.me.uk/
http://www.michaelkorshandbags-uk.org.uk/
http://www.michaelkors-outlet-canada.ca/
http://www.michael--korsoutlet.ca/
http://www.lululemon-outlet-canada.ca/
http://www.hollistersale.org.uk/
http://www.thenorth--face.co.uk/
http://www.mulberryhandbagsoutlet.co.uk/
http://www.ralphlauren-outlet.co.uk/
http://www.nike--airmax.co.uk/
http://www.nikeairmax.org.uk/
http://www.nike-free-run.org.uk/
http://www.abercrombie-and-fitch.org.uk/
http://www.nike-roshe-run.org.uk/
http://www.nike-trainers.org.uk/
http://www.nike-air-huarache.co.uk/
http://www.longchampbags.org.uk/
http://www.hollister-abercrombie.es/
http://www.vans-shoes-outlet.com/
http://www.nikerosherun.net/
http://www.maccosmeticsoutlet.us/
http://www.abercrombie-andfitch.us.com/
http://www.hermesbirkinbags.com.co/
http://www.the-northfaceoutlet.us.com/
http://www.the-north-face.in.net/
http://www.newbalance-shoes.in.net/
http://www.reebok-outlet.in.net/
http://www.lululemonoutlets.in.net/
http://www.cheap-nfljersey.in.net/
http://www.cheap-wedding-dresses.org/
http://www.beatsbydrdreheadphones.in.net/
http://www.montblanc-pens.us.com/
http://www.ferragamo-shoes.net/
http://www.giuseppe-zanotti.in.net/
http://www.instylerionicstyler.us.com/
http://www.babyliss.in.net/
http://www.mcm-handbags.net/
http://www.chiflatiron.cn.com/
http://www.insanityworkout.in.net/
http://www.ghdhair-straighteners.org.uk/
http://www.bottegaveneta-handbagsoutlet.com/
http://www.valentino-shoes.us.com/
http://www.herveleger.us/
http://www.asicso.com/
http://www.soccer--shoes.net/
http://www.soccerjerseys.com.co/
http://www.celine-handbags.org/
http://www.p90x3workout.us.com/
http://www.jimmychoo-shoes.us.com/
http://www.hollister-clothingstore.us.com/




5. Coach Outlet03/14/2017 05:16:11 AM
Homepage: http://www.coachsoutlet.us.com


kate spade handbags http://www.katespadesoutlet.us
coach factory outlet http://www.coachoutletonline.cc
Coach Outlet Store Online http://www.coachoutletstore.in.net
Michael Kors Outlet http://www.michaelkorsoutletstore.eu.com
polo outlet http://www.outletralphlauren.in.net
Polo Ralph Lauren Outlet Store http://www.polosoutlet.us.com
yeezy boost 350 http://www.yeezyadidasboost.us.com
Red Bottom Shoes http://www.redbottomsshoe.us.com
adidas nmd http://www.nmdadidasshoes.us.com
Christian Louboutin Outlet http://www.christianlouboutinsshoes.us.com
true religion outlet http://www.outlettruereligionjeans.us.com
true religion jeans outlet http://www.true-religionjeans.com
Pandora Jewelry http://www.pandorajewelrysale.us
Ferragamo Shoes http://www.ferragamoshoes.eu.com
North Face Jackets http://www.thenorthfaces.us.com
Polo Ralph Lauren Outlet http://www.poloralphlaurenus.us.com
kate spade outlet http://www.outletkatespade.us.com
Ray Ban Sunglasses http://www.raybanoutlet.cc
Coach Outlet Store Online http://www.coachsoutlet.us.com/
Coach Factory Outlet Online http://www.coachoutletonlines.us.org/
Coach Outlet Online http://www.coachfactoryoutletstore.eu.com/
Coach Outlet http://www.coachsoutletonline.us.com/
Michael Kor Factory Outlet http://www.michaelkorsmk.us.com/
Michael Kors Outlet Online http://www.michaelkorsoutleto.us.com/
Michael Kors Outlet http://www.michaelkorsofficials.us.com/
Michael Kors Factory Outlet Online http://www.michaelkorsoutletstoreofficial.eu.com/
michael kors outlet http://www.michaelkorsofficial.in.net
Coach Outlet Clearance http://www.coachoutletstoreonline.net
Michael Kors Online http://www.michaelkorsonline.eu.com
Coach Outlet online http://www.coachoutletcoach.us.com
Michael Kors Outlet Online http://www.outlet-michaelkors.us
nike shoes http://www.nikeairmax90.us.com
nike outlet http://www.nikeshoes.us.org
cheap Jordan http://www.jordancheap.us
retro jordan shoes http://www.jordanshoe.us.com
tory burch outlet http://www.outlet-toryburch.in.net
tory burch sale http://www.tory-burch-outlet.us.com
oakley outlet online http://www.oakleyoutlet.ca
cheap oakley sungalsses http://www.oakleysunglasses-outlet.in.net
ray ban outlet online http://www.raybanoutlet.com.co
ray ban sunglasses outlet http://www.rayban-sunglassesoutlet.in.net
coach outlet http://www.coachoutletstoreus.us.com
the north face outlet http://www.thenorthfaces.name
Michael Kors Bags http://www.michaelkorsoutlets.us.org
Coach Factory Outlet http://www.coachfactoryoutletofficial.name
north face jackets http://www.northfacejacketsoutlet.com
Coach Outlet http://www.coachfactoryoutletstore.us




Enter Comments^


Email addresses provided are not made available on this site.





You can use UUB Code in your posts.

[b]bold[/b]  [i]italic[/i]  [u]underline[/u]  [s]strikethrough[/s]

URL's will be automatically converted to Links


:-x :cry: :laugh: :-( :cool: :huh: :-) :angry: :-D ;-) :-p :grin: :rolleyes: :-\ :emb: :lips: :-o
bold italic underline Strikethrough





Remember me    

Monthly Archive
Responses Elsewhere



About The Schwartz

rss.jpg


All opinions expressed here are my own, and do not represent positions of my employer.