>    What events might be missing ? Connection is shutdown and can't be 
> resurrected. New connection
> will queue new events and can't miss one. Remember, first "queue 
> events" in connection immediately
> receives most current counters. It could be compared with last known 
> counters before re-connect,
> if necessary.

I mean, the application does not know that the database was shutdown and will 
no not (re)queue events on new connection. Other applications might be already 
reconnected (because these are doing something and hence detect the shutdown) 
and sending events.

The problem is not how to recover operations after new connection. But how to 
detect new connection is needed. 

It's fine for me if this is purely responsibility of developer - for example 
doing some heartbeat/watchdog/... logic. I just want to know there's nothing on 
protocol level I can use to help this situation.

-- 
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to