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.
1. Bill03/25/2010 05:07:12 AM
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..
2. Vitor Pereira04/01/2010 05:07:32 AM
Ouch! Ain't that fun!
3. Louis vuitton replica06/24/2014 10:45:49 PM
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
5. Coach Outlet03/14/2017 05:16:11 AM
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