AGrouprepresents a paxos group in a database. A group is a set
of tablets that are replicated across multiple servers. Groups may
have a leader tablet. Groups store one (or sometimes more) ranges of
keys.
Attributes
Name
Description
group_uid
int The UID of the paxos group, unique within the database.
Matches thegroup_uidfield inRange.
tablets
MutableSequence[google.cloud.spanner_v1.types.Tablet] A list of tablets that are part of the group. Note that this
list may not be exhaustive; it will only include tablets the
server considers useful to the client. The returned list is
ordered ascending by distance.
Tablet UIDs referenceTablet.tablet_uid.
leader_index
int The last known leader tablet of the group as an index intotablets. May be negative if the group has no known
leader.
generation
bytes generationindicates the freshness of the group
information (including leader information) contained in this
proto. Generations can be compared lexicographically; if
generation A is greater than generation B, then theGroupcorresponding to A is newer than theGroupcorresponding to B, and should be used preferentially.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-03 UTC."],[],[]]