Phase 2 of Appr migration

Backfills the new tables from the old ones, and switches all code to read and write from the new tables
This commit is contained in:
Joseph Schorr 2018-07-08 10:15:43 +03:00
parent a3c3c0abc7
commit 223077ef53

View file

@ -310,10 +310,5 @@ class CNRAppModel(AppRegistryDataInterface):
return appr_model.blob.get_blob_locations(digest, self.models_ref)
<<<<<<< HEAD
# Phase 2: Read and write from new tables.
# Phase 3: Read and write from new tables.
model = CNRAppModel(NEW_MODELS, features.READONLY_APP_REGISTRY)
=======
# Phase 1: Read from old tables, disallow writing.
model = CNRAppModel(OLD_MODELS, features.READONLY_APP_REGISTRY)
>>>>>>> Phase 1 of migrating APPR-specific tables to tables with the `Appr` prefix