...
Keywords: Collection Alias, Atomic Switching
Released: TODO
Summary
- As the name indicates, CollectionAlias is an alias to an existing collection.
- The collection alias can be updated to a new collection.
- Within
RootCoordinator
,Proxy
, and all the key components,CollectionName
andCollectionAlias
are equal.
e.g.MetaTable.GetCollectionByName(collectionName string, ts typeutil.Timestamp)
can receiveCollectionAlias
and return correspondingCollectionInfo.
CollectionAlias
∧CollectionName
= ∅ .CollectionAlias
cannot collide with existingCollectionName
s.- When alias are added, droped or altered, all proxy should receive the change in the same timestamp.
- When alias are added, droped or altered, the operations online should not be affected, i.e. they still use the alias information when the tasks begin to excute.