a·gen·tic a·gil·i·ty

Full-fidelity history and data migration are mutually exclusive

Explains why preserving complete historical data and accurate dates is often incompatible with data migration, especially for compliance and traceability in regulated industries.

Published on
5 minute read
Image
https://nkdagility.com/resources/V6qWqBrh4kv
Subscribe

If you have ever had to migrate data from any system that contains lots of data and especially history then you will have run into this problem. Effectively you have two choices:

This is also the case with Team Foundation Server and every customer that we have that wants to do a migration of data voices the same concern:

“We can’t be the first company to make such a request, as financial institutions and other companies need to have the history moved, have it searchable and reportable.”
-Anonymous Customer

In order to support little things like Sarbanes Oxley (SOX), CRF11, HIPPA, FDA or NRA you need to, generally, be able to prove tractability from “Source Code | Builds | Tests| Requirements”. You need to be able to show, on demand, how a line of code got into your application, why, who requested it and how it was tested. This is hard at the best of times and impossible most of the time if you have separate systems that all authenticate differently or store data differently.

Full-fidelity history and data migration are mutually exclusive

Figure: Visual Studio ALM Tractability Matrix

Do a test on your software. Pick a like of code and figure out who added it to the system and how it was changed over time. Now, for each of those changes figure out why that change was done and who authorised it. Can you do that?

Now consider a couple of…modifiers. How sure are you that the system told you the truth? It is is not Active Directory integrated can you really be sure that this is a traceable user? When was the last time that you changed that Visual SourceSafe account password? If it was not in the last 90 days then you may be out of compliance.

Its not just for enterprises; if your software in any way contributes to the decisions made by executives of public companies then you need to be able to provide that tractability. What about banks? Has your software ever been used by a financial institution to figure out what to do? Yes, that means Excel is covered by SOX and if an algorithm was not interpreted correctly then the SOX folks would be going through the Excel source with a tooth comb.

Because of these small requirements it is impossible to edit data in the past in Team Foundation Server and indeed to add data to the past. That means that when you do a “migration” and not an “upgrade” you are effectively replaying all of that history at speed against a new instance. All of your dates will be consecutive and be as close together as the API can cope with. This for some is just not good enough. In these circumstance I have to aske them to choose:

  1. Upgrade in place
  2. Migrate to new place

Which is more important? Migrating and “starting fresh” with clean data unburdened by legacy fields or Work item Types (can make your cube a little clogged). Or do you require to have all of the dates exactly as they are. This is not a Team Foundation Server thing, or a Microsoft thing but a simple tractability thing and all of the oversight rules mentioned above require it. Really, if you are concocting any sort of Application Lifecycle strategy then you need it too…

When you migrate however all is not lost. You don’t loose the history of the dates, nor your tractability it is just moved a little and becomes a little less discoverable, but no less traceable. In the case of the TFS Integration Platform you retaining the original date and user in the “history” for work items and the “comment” for source control. While not ideal, it does allow you to maintain that fidelity of history. In addition you can have the TFS Integration Platform retain the ID from the old system and thus you can even keep the old system alive for those infrequent spelunking sessions. If you must retain the integrity of dates then the only option is Process Template Upgrade #7 – Rename Work Items and Import new ones and all of the migration options with pros and cons documented on Upgrading your Process Template in Team Foundation Server .

Using method #7 you will be able to:

You will however NOT be able to:

If you need help deciding then there is some Rangers guidance and my aforementioned Process Template migration guidance.

Full-fidelity history and data migration are mutually exclusive

Figure: TFS Integration Platform - Migration Guidance Poster

There are a bunch of other workarounds to this that I have discussed on many occasions with customers but they still need to choose … which do you want? Make sure that you look at all of the pros and cons carefully and decide what you want to do. An additional thing to note is that migration is very expensive in time and expertise, so choose carefully.

Software Development Pragmatic Thinking
Subscribe

Related Blog

No related videos found.

Connect with Martin Hinshelwood

If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.

Our Happy Clients​

We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.​

Lean SA Logo

Lean SA

Capita Secure Information Solutions Ltd Logo

Capita Secure Information Solutions Ltd

New Signature Logo

New Signature

Workday Logo

Workday

Emerson Process Management Logo

Emerson Process Management

NIT A/S

Kongsberg Maritime Logo

Kongsberg Maritime

Philips Logo

Philips

Teleplan Logo

Teleplan

Boxit Document Solutions Logo

Boxit Document Solutions

SuperControl Logo

SuperControl

Slaughter and May Logo

Slaughter and May

YearUp.org Logo

YearUp.org

Schlumberger Logo

Schlumberger

Alignment Healthcare Logo

Alignment Healthcare

Lockheed Martin Logo

Lockheed Martin

DFDS Logo

DFDS

Hubtel Ghana Logo

Hubtel Ghana

Royal Air Force Logo

Royal Air Force

Washington Department of Enterprise Services Logo

Washington Department of Enterprise Services

Department of Work and Pensions (UK) Logo

Department of Work and Pensions (UK)

Ghana Police Service Logo

Ghana Police Service

New Hampshire Supreme Court Logo

New Hampshire Supreme Court

Nottingham County Council Logo

Nottingham County Council

NIT A/S

Bistech Logo

Bistech

Flowmaster (a Mentor Graphics Company) Logo

Flowmaster (a Mentor Graphics Company)

Emerson Process Management Logo

Emerson Process Management

Xceptor - Process and Data Automation Logo

Xceptor - Process and Data Automation

Kongsberg Maritime Logo

Kongsberg Maritime