DVR: More database optimizations (v2021.07.27.2302)

The work that we did in DVR: Performance improvements (v2021.05.27.2341 prerelease) is now being rolled out more widely, to cover additional metadata stored in the recorder.db file.

With this release, you will also now see a new recorder.idx directory next to the recorder.db file. This .idx directory is generated using the .db file and does not need to be backed up.

Note that as before, this upgrade involves a data-migration which is not backwards-compatible. When you upgrade to v2021.07.27.2302, your db file will change. Backups made from that point forward will not work with older versions of the software. The earliest version which supports the new backups is v2021.07.27.2226

3 Likes

How will that affect those migrating to a new installation and trying to restore?
A new install grabs the latest release version which will be older...
I assume you're going to bump the release version to 2021.07.27.2226 or higher?

If you're migrating to a new install you would need to upgrade it to prerelease before the migration.

1 Like

When I updated my TVE DVR it tried to auth telemundo when the new version started and created the chromedata folder again. Is it still OK to delete that?

Yes

1 Like

@scottuf @Jason_Trippe I noticed some errors reported by your DVRs with this version. Can you please upgrade to v2021.07.28.0020 and run:

curl -XPUT http://x:8089/dvr/database/reindex

done. looks like I got some more errors. need me to submit logs?

1 Like

7d187d7d-26be-4792-97c9-c8c68ff6f1f5

Thank you. I was able to reproduce the issue on an ARM VM. Thankfully the error is not causing crashes, so its safe to ignore for now until I figure out the fix.

1 Like

Fix is uploading now. Please try upgrading to v2021.07.28.0203 in 10-15 minutes.

Updated. Doesn't look like I'm getting the errors now.

1 Like