This solidifies the current feature with additional logging, tests, and error handling. It includes a rollback to the backup on error, and graceful handling to reset the state of the projection so it doesn't get stuck in a state of 'rebuilding'. The response is now useful, containing an error if non-fatal, and the high resolution duration rounded to ms in both a human-friendly message and raw value.
This solidifies the current feature with additional logging, tests, and error handling. It includes a rollback to the backup on error, and graceful handling to reset the state of the projection so it doesn't get stuck in a state of 'rebuilding'. The response is now useful, containing an error if non-fatal, and the high resolution duration rounded to ms in both a human-friendly message and raw value.
See the CHANGELOG for detail.