Closed jbrzusto closed 6 years ago
and is built into boost::serialization, so what took me so long?!
Reopening because I failed to read the boost::serialization docs properly: the version parameter
doesn't do anything except get passed to serialize methods of classes. It's up to the Tag_Foray::resume()
to actually notice (and fail gracefully) on an incompatible version.
We'll distinguish between minor and major serialization versions:
(major << 16) | minor
version
of the batchState tableresume()
gracefully.motusServer::ensureRecvDBTables()
to include batchState.version
alter table batchState add column version integer
to each recv DBthis is done now.
This safeguard is long-overdue.