dolittle / Runtime

Runtime for Dolittle
https://dolittle.io
MIT License
14 stars 10 forks source link

Moved DB-optimizations & migrations to background tasks. #761

Closed mhelleborg closed 10 months ago

mhelleborg commented 10 months ago

Summary

The runtime performs some housekeeping tasks when starting after being upgraded from an older version. Since the runtime has a compatibility layer supporting the older database formats, it is possible to process and commit events while the migration is being performed. This changes the behavior from 9.3.1, where the runtime would wait for the migrations to complete before starting.

Changed