FoundationDB/sql-layer — pull request #1255 by MMcM (2014-04-10 17:31:25+00:00)
Title: Store type bundle uuid in AIS

There were already some fields allocated for this, but only a TODO comment in actually populating them.

As I said the other day, I do not believe that the original conception of a mix of types from different bundles, perhaps even in the same table, and with no limitations in joins, is likely to work. So, an alternative would be to just rip out what was started.

But that would require the types registry to disambiguate types with the same name from different bundles based on the database's settings. Which isn't hard, but the types translator already does something similar, so that would mean that the mapping lived in two places. The goal of this work, therefore, is to simplify the contract of the types registry, by adding the bundle uuid which makes all AIS type names globally unique and forever unambiguous.

This branch does not actually do anything at lookup time other than assert that the given UUID matches. More prep work is needed before switching over.

Since this is an incompatible meta-data format change, bump the version. Since that is being done, clean up the rest of the UUIDs in protobuf to be more compact.