The way I view this, which will become clearer when the s3storage is up, is that while the server is running the authoritative collection of metadata is the one that lives in repository.js. (If the node server is down, the notion of which registry is authoritative shifts to S3, since that is what the server initializes to)