[bind10-dev] How to have a pleasant conversation with the administrator about life, the universe, and everything, OR The Problem of the Unused SQL Column
Shane Kerr
shane at isc.org
Mon Oct 18 13:09:32 UTC 2010
Likun,
On Fri, 2010-10-15 at 11:00 +0800, Likun Zhang wrote:
> > Anyway, once we have a system that expects administrators to do
> > something, then we have to have a way for them to do the upgrade. I
> > think in this case a little script is probably the answer, although we
> > also need to send a message to the c-channel to let all of the tasks
> > know they need to re-connect to the data source.
> >
> > Thoughts?
>
> For me, I would like any thing has been prepared well before boss starting
> other modules, intead of "sending a message to the c-channel to let all of
> the tasks
> know they need to re-connect to the data source".
> That means boss or cfgmgr, or some special upgrader should upgrade
> everything, provide a well-prepared environment for any other modules.
>
> Or, did I misunderstand your original meaning?
Thinking about it more, I tend to think you are correct. My reasoning is
that for operations that take a longish time (like changing the schema
for a few million database records), modules that use the data stores
will be affected.
Probably what is best is to simply let administrators know what to do
and how to do it:
$ ./bind10
[b10-xfrin] SQLite data source has new version, run 'b10-sqlite-upgrade' to fix
[bind10] BIND 10 started
^C
$ b10-sqlite-upgrade
Converting '/var/bind10/zone.sqlite3' from version 2 to version 3... done.
$ ./bind10
[bind10] BIND 10 started
Reasonable?
--
Shane
More information about the bind10-dev
mailing list