[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3696) Determining server configuration at run-time (RFE)



> At 10:19 PM 5/1/2005, ando@sys-net.it wrote:
>>Information about a database being shadow or not could be added to the
>>database entries.
>
> Adding a syncTimeStamp (or shadowTimeStamp) has been on
> my long todo list for ages.  The presence of this would
> indicate that the DSE is a shadow copy.

This can be done very easily by the replication mechanism, which could use
monitor_back_register_entry_attrs() to append an attribute under an
existing entry (in this case, that of the related database) along with a
callback to the function that updates its value each time replication
occurs.

I think it's a dozen lines of code or so...

Ciao, p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497