cinchapi / concourse

Distributed database warehouse for transactions, search and analytics across time.
http://concoursedb.com
Apache License 2.0
315 stars 234 forks source link

Fix corner case with bootstrapping system version #422

Closed jtnelson closed 3 years ago

jtnelson commented 3 years ago

This fixes a bug that occurs when a fresh install with upgrade tasks is pointed to an data directory with existing data at an older system version. Previously, the bootstrap process set the system version across the buffer, db and home with the latest system version (without running the upgrade tasks). This fix adjusts the bootstrap process to only set the home system version if it detects that the install is fresh