Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdditionalInitialDescriptors ¶
func AdditionalInitialDescriptors( ctx context.Context, db db, ) (descriptors int, ranges int, _ error)
AdditionalInitialDescriptors returns the number of system descriptors and ranges that have been added by migrations. This is needed for certain tests, which check the number of ranges at node startup.
NOTE: This value may be out-of-date if another node is actively running migrations, and so should only be used in test code where the migration lifecycle is tightly controlled.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager encapsulates the necessary functionality for handling migrations of data in the cluster.
Click to show internal directories.
Click to hide internal directories.