[bind10-dev] #1376 will require upgrading sqlite3 database file
JINMEI Tatuya / 神明達哉
jinmei at isc.org
Thu Nov 17 22:51:12 UTC 2011
I've completed initial development of sqlite3 (storing IXFR diffs to
the data source). If we merge this as it is, however, IXFR-in will
not work for older versions of sqlite3 database files that don't have
the "diffs" table.
How should we solve this issue?
If this is a matured product, I suspect there's no other option than
introducing transparent migration hack within our source code. But
since BIND 10 is still in a relatively early development phase
involving many other backward incompatible changes, I personally would
rather avoid making the code dirtier (and more difficult to maintain)
due to such workaround that will be of no use for most of the lifetime
of the software.
So my suggestion is to provide a separate python script or something
to upgrade the database file and ask the user to run it before
upgrading BIND 10 itself. We'll eventually (after several snapshot
releases maybe) remove this script from the tar ball.
Opinions?
---
JINMEI, Tatuya
More information about the bind10-dev
mailing list