So here is the latest position....
Having fixed a few bugs in my configuration file editor...
Realising that I just can't edit the hard-coded paths stored in the journal by a sysmod I decided to play with a recovery where a sysmod had not been performed on the test database.
So I created a journaled table in a database, inserted some initial data, did a backup, and then updated the table and exited the database. Using auditdb I confirmed the update was in the journals.
I transferred the journals etc to the DRH.
I edit the paths in the config and saved config files and do a recovery.
The recovery completes successfully...or at least claiming success.
The table with the initial data has been recovered, but the journalled updates have not been recovered.
Examining the recovery log I find that the recovery stopped at a transaction with LSN 4CE13251,0B20E2BE. Examining the audit trail on the source host we see that the updates start with a transaction LSN 4CE13251,0B20E2C3.
The audit trail on the DRH also refuses to display the updates. Yet the journal files on source and DRH are identical.
Ideas please.
FYI. The clock on the DRH is about 4minutes ahead of the clock on the source host.
Marty
-----Original Message-----
From: Karl Schendel [mailto:schendel (AT) kbcomputer (DOT) com]
Sent: 02 December 2011 14:35
To: Ingres and related product discussion forum
Subject: Re: [Info-Ingres] Editing a configuration file
On Dec 2, 2011, at 3:27 AM, Martin Bowes wrote:
Quote:
Hi Bilgihan,
The more I think about this the more I think the best thing would be to remove all the hard-coded paths completely from the database config files and from the journals and dumps. |
Indeed.
The only reason (as far as I know) that it hasn't been done already is that
recovery can get tricky. Offline crash recovery sort-of-kind-of tries to use
as little context as possible, specifically including location knowledge and
location availability. Digging through recovery to see what can and
should be done takes the project from "maybe a week or so" up to
"maybe three weeks, a month, who knows", which is why it hasn't
been done already in stealth mode.
I completely agree, though. Storing an absolute path anywhere outside of
the location definition itself is wrong, broken, and evil.
Karl
_______________________________________________
Info-Ingres mailing list
Info-Ingres (AT) kettleriverconsulting (DOT) com
http://ext-cando.kettleriverconsulti...fo/info-ingres