[ZODB-Dev] Support for graceful ZODB Class renaming

Jeremy Hylton jeremy@zope.com (Jeremy Hylton)
Mon, 20 Jan 2003 11:28:46 -0500


>>>>> "PN" == Pieter Nagel <pieter@nagel.co.za> writes:

  PN> I believe that database schema changes (whether class renamings
  PN> or instance attribute rearrangements), should be done atomically
  PN> in one fell swoop.

  PN> There I favour solution 2 (a utility that transforms fixes all
  PN> instances of the renamed classes in the database), and I dislike
  PN> the lazy-renaming approach. I dislike the alias approach
  PN> (supporting old class names indefinitely) even more.

While there is admittedly some difference between the stop-the-world
and lazy approaches to renaming, both can be implemented so that they
appear atomic to all database clients.

Jeremy