Mongo raises an error on find_descriptors() because, although we have a joint index of run_start and time, we don't have one just one time. This seems like a safe and useful thing to add.
Also, the migration verification script revealed we were still missing some sorts in core_v0, which is here remedied.
OK, after quick discussion with @arkilic, this PR has been changed. No new indexes are being added to event. The important thing is that all the sorting imposed by our built-in queries has a matching index.
Mongo raises an error on
find_descriptors()
because, although we have a joint index of run_start and time, we don't have one just one time. This seems like a safe and useful thing to add.Also, the migration verification script revealed we were still missing some sorts in core_v0, which is here remedied.