Entity group

As mentioned earlier, each entity in Datastore is part of an entity group. Bigtable tracks the entity group of each entity as the key of the entity's highest ancestor. When performing transactions on an entity, all rows with the same Entity Group Key will be locked by Datastore until that transaction is fully propagated throughout the system. This is fundamental to how Datastore provides consistency guarantees within a given entity group.

Get Building Google Cloud Platform Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.