Skip to main content

A Disasterous Upgrade - and a Warning about Nomad.

What a disastrous week we have had! Last weekend, we upgraded one of our most critical systems on the Domino server. The system in question is primarily transaction based and as a result records are being added and deleted constantly.

The upgrade went well and all our post-implementation and testing was great. We all went home on Saturday feeling much relieved that the upgrade had gone as planned.

On Monday, the first day in which the system was going to be used by our clients, we received a phone call to say that they were able to create a record with the same primary key as another record in the system. We commenced an investigation to see what the extent of the problem was, not expecting a great deal of trouble after all of the testing we have done. We were surprised. There were quite a few duplicate records, many of which were very similar but not exactly the same. The dates on these records varied considerably making it even harder to identify a pattern.

In desperation, we reverted to the previous version of the system. A short while later, records with the current date began to appear despite the fact that we had locked users out. Classic replication syndrome - but where was the replica?

We have been in the process of getting an offsite server setup but we didn't have the connection in place. The people responsible for installing the server had obviously used an Internet connection to get the initial set of replicas. I hadn't given any thought to that server as it wasn't "active" but as a notes person, I quickly realised the problem and asked them to remove their replica of the database. All went well and we managed to revert back to the old version of the database.

Then the investigation began. How could something that had been tested so well be faulty. To cut a long story short, it turned out to be a replication issue. Our offsite server had been connected at some point in the past, via the Internet. This would have enabled them to get replicas of our databases. The server was then disconnected because we were going to have a more appropriate direct connection installed. The cable company, despite repeated requests to install the connection took several months to connect the cable. It was only connected yesterday (well after the problem).

During the long wait for the cable connection, our offsite server had obviously been reconnected to the Internet, hence the replication issues we had after the restore. More importantly, the offsite server had been disconnected long enough for the deletion stubs to be purged from the database. This made our deleted records look like they should be available again. When the server was reconnected and replicated, it performed some resurrections. This was where our problem began.

We would have been okay if the server had not been connected at all - or if the server had been connected and remained connected - or if we had a longer period on retention of deletion stubs. This one will take some explaining to management.

So why is this very rare, very unlikely condition important?

I was trying to think of all way it could recur. Apart from the obvious things such as having a local replica on your PC but turning your PC off when going on a very long holiday, I couldn't think of anything immediately... but now, a new thought springs to mind.

There are obviously a lot of people who are really excited about Nomad (Notes on a USB memory stick). It just occurred to me that if you only use your stick when on holidays or when travelling, any database replicas you have locally on it will grow old and you could find yourself with the same problem.

This isn't a problem with Nomad or with Notes and it will only affect certain types of databases. Nevertheless, you should be prepared for it.

Comments

Popular posts from this blog

How to Change Your Notification Options for New Lotus Notes Mail in version 8.x

Don't worry, I'm not patronizing you (my readers), I just decided to re-document this for one of our internal users and thought you might want to be able to use it in your own user documentation. WHAT IS THIS DOCUMENT ABOUT? Some people who don't get a lot of mail, like to be notified when such an event occurs. Notification can be; via a sound via a pop-up box via the system tray (where the computer clock is) The pop up box looks like this; Other people, who like myself, get too much mail would rather not be notified. The aim of this document is to tell you how (and where) to turn these options on and off. CHANGING YOUR SETTINGS To change your settings from the Notes 8.x client; On the Menu, click File , then Preferences... On the left hand side , click on the little plus sign to the left of Mail to expand the options. Click on the option marked Sending and Receiving . In the middle section, under receiving, you can control your notifications. If you untick the box mark...

How to Create a Bootable DVD Using Nero Burning ROM 9

I often need to create bootable CDs and DVDs but it's weird because I frequently end up buring myself a new coaster instead. It's not that the process is difficult, just that nero has a few too many options and I forget which ones to choose and end up picking the wrong one. I figured that the best way to avoid this mistake in future would be to write the steps down. Procedure Insert CD or DVD into your DVD Burner. Start Nero Burning ROM 9 Choose DVD-ROM (Boot) or CD-ROM (Boot) depending on what you're creating You'll be prompted for a disk image source. Choose a Nero Source - you'll usually find them somewhere like this... C:\Program Files\Nero\Nero9\Nero Burning Rom\DOSBootImage.ima Leave the Boot Locale as English - unless you really need a different keyboard layout Tick the box marked [X] Enable Expert Settings Choose Hard Drive Emulation and leave any other settings as they are. Click the button marked New Add any files you want but don't try to add operati...

How to Create an Auto-Response Mail Message in Lotus Notes 8.5.3+

Why would you do this? Suppose that you have an externally accessible generic email address for your company; support@mycompany.com or info@mycompany.com. You might expose this to the web and allow people to send messages to you. Setting up an auto-response email will tell the senders that their message reached its destination and that it will be dealt with accordingly.  It's also good practice to include links to FAQs or other useful information. Why 8.5.3 The techniques we'll be using here work in older versions of Notes but some of the options seem to have moved around in 8.5.3.  I figured it was a good time to show you where they've moved to. The Procedure Start Domino Designer and open the Mail file to be modified.  A really quick way to do this is to right-click on the application tab and choose "Open in Designer". In the Left hand panel of designer, expand Code and then double-click Agents.  A new window should appear. Click the action ...