Long prev = onlineCache.schemaToOnline.put(schema, onlineID);
assert (prev == null) : String.format("%s, %d, %d", schema, prev, onlineID);
++schemaCount;
}
if(generation != -1) {
ProtobufReader reader = newProtobufReader();
loadProtobufChildren(txnState, protobufDir, reader, null);
loadPrimaryProtobuf(txnState, reader, onlineCache.schemaToOnline.keySet());
// Reader will have two copies of affected schemas, skip second (i.e. non-online)
AkibanInformationSchema newAIS = finishReader(reader);