23.11.2018 22:32, Dimitry Sibiryakov wrote:
AFAIU, journal sequence is completely plugin-related thing. I
understand why your plugin wants to keep it in database, but why in header?
Is replication going to be based on plugin at all?..
Built-in replication, while implementing the same CDC interface, is not
a plugin. It's a part of the server/engine. It can store sequence number
elsewhere (and it did until recently), but it's more error-prone to
store it inside the database itself. Header page is an obvious choice.
RDB$DATABASE is another option, but it's also an ODS change.
Custom implementations (plugin based) may override the built-in one or
may be used together (subject of further discussions).
Dmitry
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel