This metadata operation (which I believe is the row connecting the data table to the index table), should be created up front in the same "transaction" in which the index table is created. In MetaDataEndPointImpl, we submit all the metadata changes in one atomic call, so it either all succeeds or all fails. We'll also need this link established so that the index maintenance starts occurring immediately, even before the index is marked as "active". Otherwise, we'll lose any updates that occur while index building is in progress.